Maintain a Clean Commit History
Learn to commit only what’s relevant and clean the rest of the changes.
We'll cover the following...
Before we commit, we may want to clean the commit to only keep what’s relevant.
The git add
workflow
Here’s a typical git add
workflow that contains a reveal and double-check process to ensure that only the changes we want to commit are added. ...