summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9da6f0f)
raw | patch | inline | side by side (parent: 9da6f0f)
author | SZEDER Gábor <szeder@ira.uka.de> | |
Tue, 2 Sep 2008 01:45:01 +0000 (03:45 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 2 Sep 2008 05:02:11 +0000 (22:02 -0700) |
There is no need to explicitly pass the file to be committed to 'git
commit', because it's contents is already in the index.
Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
commit', because it's contents is already in the index.
Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-stash.txt | patch | blob | history |
index e64e1f124407003002522d6c9e127985632941dc..051f94d26f9f057cbd4db0d6886ca1a4d33c912c 100644 (file)
$ git add --patch foo # add just first part to the index
$ git stash save --keep-index # save all other changes to the stash
$ edit/build/test first part
-$ git commit foo -m 'First part' # commit fully tested change
+$ git commit -m 'First part' # commit fully tested change
$ git stash pop # prepare to work on all other changes
# ... repeat above five steps until one commit remains ...
$ edit/build/test remaining parts