Clients
Services
Blog
Contact Us
Git - Squashing multiple commits to a single one
Videos
/
Misc videos
/
Git - Squashing multiple commits to a single one
Prev
Episode
Episode 1
of 2
Next
Episode
Episode Notes
Merging multiple commits into a single commit.
Git-Rebase
$ git checkout topic-branch-name $ git rebase -i HEAD~n # n is the number of commits you want to merge. $ git push -f # because git push will get rejected