Skip to content

Instantly share code, notes, and snippets.

@pgrepds
Created March 31, 2022 04:35
Show Gist options
  • Save pgrepds/a0baf1df7c291908a63de3b437f53e10 to your computer and use it in GitHub Desktop.
Save pgrepds/a0baf1df7c291908a63de3b437f53e10 to your computer and use it in GitHub Desktop.
Sqash the latest 6 local commits into one new commit.
Sqash the latest 6 local commits into one new commit.
git reset --soft HEAD~6 && git commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment