Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 369 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 369 Bytes

Quick and easy squashing

Open two terminal windows:

  1. git log --name-only;

  2. git rebase -i <SHA>~;

Additional notes:

  1. 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
  1. git status is your friend.
  2. create new branches to protect your code.