Skip to content

m-dimmitt-old/quick_and_easy_squashing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

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.

About

git log --name-only; git rebase -i <SHA>~; echo Success;

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published