Created
March 12, 2020 15:47
-
-
Save emailrhoads/3ddf3b9183c988fd2d875588e2aa760a to your computer and use it in GitHub Desktop.
[Squash all commits on current feature branch] #git
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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