Created
December 13, 2021 09:08
-
-
Save davidcsejtei/e4df9e84f037dce257b8e7a520e696e8 to your computer and use it in GitHub Desktop.
Squash commits into one
This file contains 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/TICKET-123 | |
git merge master | |
git reset master | |
git add . | |
git commit -m "TICKET-123 add something" | |
git push -f origin feature/TICKET-123 | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment