Skip to content

Instantly share code, notes, and snippets.

@sheff3rd
Created December 29, 2016 13:10
Show Gist options
  • Save sheff3rd/e8fc4c92b1deff1a5b2aed6d8cd98d0c to your computer and use it in GitHub Desktop.
Save sheff3rd/e8fc4c92b1deff1a5b2aed6d8cd98d0c to your computer and use it in GitHub Desktop.
how to squash
- git rebase -i branch~n
replace 'pick' from second line to last to 'f'
save and exit
- git push branch --force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment