Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-04-18 08:42:12 +0400
committerJunio C Hamano <gitster@pobox.com>2009-04-18 08:42:12 +0400
commit66aae6c1bac1668483f3dbe3875fc9d9655e9408 (patch)
tree9d61bf2d4ae29ca9e1e0bbaa7e82c976ea276146 /Documentation
parentef5542ca93ea6751c97104ca13f79b3d4d2d2ca8 (diff)
parent595f6948232a2e37df4f63476662cba20ecf9d8d (diff)
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