Skip to content

Instantly share code, notes, and snippets.

@Sekiphp
Created February 18, 2022 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Sekiphp/c038c4988661bb12f1faee6f5e3e875c to your computer and use it in GitHub Desktop.
Save Sekiphp/c038c4988661bb12f1faee6f5e3e875c to your computer and use it in GitHub Desktop.
1. git rebase --interactive HEAD~10
2. pick commit and replace `pick` for "child" commits to `s` (it means squash)
3. save & force push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment