MyBlogs
BlogTags
Published on
Thursday, August 6, 2020

Git Squash

Squash recent 3 commits into a single commit

git rebase -i HEAD~3

change

pick fda59df commit 1
pick x536897 commit 2
pick c01a668 commit 3

to

pick fda59df commit 1
squash x536897 commit 2
squash c01a668 commit 3

Tags

Git

In "Git" tag

Next in tag

Undo 'git add' before commit

Previous Article

Find Process Using A Specific Port

Next Article

deplete designate disclose ditch dogma
← Back to the blog
wiki.neo
•
© 2025
•
My Blogs