README.md
October 3, 2019 ยท View on GitHub
Quick and easy squashing
Open two terminal windows:
-
git log --name-only; -
git rebase -i <SHA>~;
Additional notes:
- remembering your sha can save you from a bad rebase. ๐ฏ
If you screw up badly:
git checkout SHA;
git checkout -b you-recovered-the-branch
- git status is your friend.
- create new branches to protect your code.