6.3.1. Best Practice (3/4)#
Best Practices
Keep a healthy reference
Separate changes
Commit complete changes
Commit small but complete changes:
Decide what changes to include in a commit (use
git add -p
).Make a commit as specific as possible, i.e., include only changes that belong together.
Write commit messages that specify the purpose of the commit.
Include as few changes as possible into a commit.