Git - Squashing multiple commits to a single one

Videos/Misc videos/Git - Squashing multiple commits to a single one

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