Skip to content

Instantly share code, notes, and snippets.

@emailrhoads
Created March 12, 2020 15:47
Show Gist options
  • Save emailrhoads/3ddf3b9183c988fd2d875588e2aa760a to your computer and use it in GitHub Desktop.
Save emailrhoads/3ddf3b9183c988fd2d875588e2aa760a to your computer and use it in GitHub Desktop.
[Squash all commits on current feature branch] #git
git checkout feature_branch
git reset --soft master
git add -A && git commit -m "commit message goes here"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment