Created
January 26, 2013 16:55
-
-
Save ebridges/4643237 to your computer and use it in GitHub Desktop.
git commit partial changes
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 add -p file1 | |
$ git stash --keep-index | |
$ git commit -m 'only partial adds' file1 | |
$ git stash pop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment