Git in Practice #6: The Perfect Commit
What should you do before committing? Here’s a simple method for clean commits your teammates will understand right away. What you'll learn Review your changes before committing Make commits that cover a single topic Write a clear commit message 1. List the changed files git status Check that no file was changed by mistake. If a file has nothing to do with this commit, don’t add it. ...