git checkout fix
git reset HEAD^
git checkout -b fix-1
git add -p
git commit
git stash
git checkout -b fix-1
git stash pop
git commit -a
Created
October 2, 2013 18:35
-
-
Save kirang89/6798396 to your computer and use it in GitHub Desktop.
Splitting a single commit into several others, for the sake of clarity.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment