summaryrefslogtreecommitdiff
path: root/Documentation/git-add.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/git-add.adoc')
-rw-r--r--Documentation/git-add.adoc9
1 files changed, 5 insertions, 4 deletions
diff --git a/Documentation/git-add.adoc b/Documentation/git-add.adoc
index ad629c46c5..6192daeb03 100644
--- a/Documentation/git-add.adoc
+++ b/Documentation/git-add.adoc
@@ -342,13 +342,14 @@ patch::
d - do not stage this hunk or any of the later 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
- K - leave this hunk undecided, see previous hunk
+ j - go to the next undecided hunk, roll over at the bottom
+ J - go to the next hunk, roll over at the bottom
+ k - go to the previous undecided hunk, roll over at the top
+ K - go to the previous hunk, roll over at the top
s - split the current hunk into smaller hunks
e - manually edit the current hunk
p - print the current hunk
+ P - print the current hunk using the pager
? - print help
+
After deciding the fate for all hunks, if there is any hunk