Understand what‘s Distributed SCM
- fetch the updates from remote before you start coding or pushing your changes
- waiting until the command process(eg:check-out) finished itself in case breaking the git file system.
- double confirm on the merge conflict you had made
Check in your source code correctly and elegantly
- diff your changes before check in your source code
- check in your updates based on the feature you implemented or bug you fixed
- commit your code with clear message(https://chris.beams.io/posts/git-commit/)
- keep an eye on the output message from git command
- commit with --amend option if needed
原文地址:https://www.cnblogs.com/makesense/p/12305930.html
时间: 2024-10-31 17:31:23