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

Git Repository Quick Commands


A version control system allows you to track the history of a collection of files and includes the functionality to revert the collection of files to another version. Each version captures a snapshot of the files at a certain point in time. The collection of files is usually source code for a programming language but […]

Read More Git Repository Quick Commands