Skip to content

Instantly share code, notes, and snippets.

View zillani-nuovo's full-sized avatar
🎯
Focusing

zillani-nuovo

🎯
Focusing
View GitHub Profile
@jbub
jbub / squash-commits.sh
Created June 12, 2013 15:31
git squash last two commits into one
git rebase --interactive HEAD~2
# we are going to squash c into b
pick b76d157 b
pick a931ac7 c
# squash c into b
pick b76d157 b
s a931ac7 c