Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Documentation: minor cleanup in a use case in 'git stash' manual
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>
Documentation/git-stash.txt
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
9da6f0f
)
diff --git
a/Documentation/git-stash.txt
b/Documentation/git-stash.txt
index e64e1f124407003002522d6c9e127985632941dc..051f94d26f9f057cbd4db0d6886ca1a4d33c912c 100644
(file)
--- a/
Documentation/git-stash.txt
+++ b/
Documentation/git-stash.txt
@@
-207,7
+207,7
@@
each change before committing:
$ 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 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
$ git stash pop # prepare to work on all other changes
# ... repeat above five steps until one commit remains ...
$ edit/build/test remaining parts