summaryrefslogtreecommitdiff
path: root/Documentation/user-manual.txt
diff options
context:
space:
mode:
authorThomas Rast <trast@student.ethz.ch>2009-05-28 11:40:15 +0200
committerJunio C Hamano <gitster@pobox.com>2009-05-30 22:21:29 -0700
commitd183663785c0d78f73b31ad43fa57b0742d2a95c (patch)
treecb1eed6ace2376534691e7c7d9e0957653ebd791 /Documentation/user-manual.txt
parent9affecbc89538b6fd63f772b6f14047bced9345e (diff)
downloadgit-d183663785c0d78f73b31ad43fa57b0742d2a95c.tar.gz
Documentation: teach stash/pop workflow instead of stash/apply
Recent discussion on the list showed some comments in favour of a stash/pop workflow: http://marc.info/?l=git&m=124234911423358&w=2 http://marc.info/?l=git&m=124235348327711&w=2 Change the stash documentation and examples to document pop in its own right (and apply in terms of pop), and use stash/pop in the examples. Signed-off-by: Thomas Rast <trast@student.ethz.ch> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/user-manual.txt')
-rw-r--r--Documentation/user-manual.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/user-manual.txt b/Documentation/user-manual.txt
index dbbeb7e7c7..0b88a51d0b 100644
--- a/Documentation/user-manual.txt
+++ b/Documentation/user-manual.txt
@@ -1520,10 +1520,10 @@ $ git commit -a -m "blorpl: typofix"
------------------------------------------------
After that, you can go back to what you were working on with
-`git stash apply`:
+`git stash pop`:
------------------------------------------------
-$ git stash apply
+$ git stash pop
------------------------------------------------