summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2009-04-17 21:42:12 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-04-17 21:42:12 -0700
commit66aae6c1bac1668483f3dbe3875fc9d9655e9408 (patch)
tree9d61bf2d4ae29ca9e1e0bbaa7e82c976ea276146 /Documentation
parentMerge branch 'eb/upload-archive-from-git-shell' (diff)
parentUpdate git-add.txt according to the new possibilities of 'git add -p'. (diff)
downloadtgif-66aae6c1bac1668483f3dbe3875fc9d9655e9408.tar.xz
Merge branch 'mm/add-p-quit'
* mm/add-p-quit: Update git-add.txt according to the new possibilities of 'git add -p'. add-interactive: refactor mode hunk handling git add -p: new "quit" command at the prompt.
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-add.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt
index ce71838b9e..d938b42289 100644
--- a/Documentation/git-add.txt
+++ b/Documentation/git-add.txt
@@ -245,8 +245,11 @@ patch::
y - stage this hunk
n - do not stage this hunk
+ q - quit, do not stage this hunk nor any of the remaining ones
a - stage this and all the remaining hunks in the file
d - do not stage this hunk nor any of the remaining hunks in the file
+ g - select a hunk to go to
+ / - search for a hunk matching the given regex
j - leave this hunk undecided, see next undecided hunk
J - leave this hunk undecided, see next hunk
k - leave this hunk undecided, see previous undecided hunk