Created
December 2, 2016 14:27
-
-
Save jmrnilsson/e88bfa1eee08b61e35d18f331cde19c1 to your computer and use it in GitHub Desktop.
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
# https://github.com/ginatrapani/todo.txt-android/wiki/Squash-All-Commits-Related-to-a-Single-Issue-into-a-Single-Commit | |
$ git rebase -i HEAD~4 | |
h1. Optionally force push | |
But alternatively start with making a new branch | |
$ git push origin branch-name --force | |
$ git commit --amend |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment