Git Best Practices


Commit Related Tips A commit should be a wrapper for related changes. For example, fixing two different bugs should produce two separate commits. Avoid mixing whitespace changes with functional code changes. Avoid mixing two unrelated functional changes. Avoid sending large new features in a single giant commit. Resist the temptation to commit something that you […]

Read More Git Best Practices