Git Core Improvements and Contributions
Git happens! 6 Common Git mistakes and how to fix them

Git happens! 6 Common Git mistakes and how to fix them

8/8/2018 · Sam Beckham

What this post added

This post details six common Git mistakes and their solutions: amending the last commit message, adding a forgotten file to the last commit, removing an unwanted file from staging or a commit, moving commits from the master branch to a new branch, renaming a branch, and using `git reflog` to recover from a corrupted repository. It also provides general advice on Git repository security and preventing large repositories.

Read the original post ↗