forestgeo/learn

How (and why!) to keep your Git commit history clean

Opened this issue · 0 comments

https://about.gitlab.com/2018/06/07/keeping-git-commit-history-clean/

amend, rebase, apply, diff ...

Situation 1: I need to change the most recent commit
Situation 2: I need to change a specific commit
Situation 3: I need to add, remove, or combine commits
Situation 4: My commit history doesn't make sense, I need a fresh start!