Clients
Services
Blog
Contact Us
Misc videos
/
Episode 1 of 2
Git - Squashing multiple commits to a single one
Running time 04:34
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
Get in touch
Got a project
in mind?
Talk to us