Skip to content

Commit cafa567

Browse files
moygitster
authored andcommitted
Update git-add.txt according to the new possibilities of 'git add -p'.
The text is merely cut-and-pasted from git-add--interactive.perl. The cut-and-paste also fixes a typo. Signed-off-by: Matthieu Moy <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 7535e5a commit cafa567

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Documentation/git-add.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,9 +245,11 @@ patch::
245245

246246
y - stage this hunk
247247
n - do not stage this hunk
248-
q - quite, do not stage this hunk nor any of the remaining ones
248+
q - quit, do not stage this hunk nor any of the remaining ones
249249
a - stage this and all the remaining hunks in the file
250250
d - do not stage this hunk nor any of the remaining hunks in the file
251+
g - select a hunk to go to
252+
/ - search for a hunk matching the given regex
251253
j - leave this hunk undecided, see next undecided hunk
252254
J - leave this hunk undecided, see next hunk
253255
k - leave this hunk undecided, see previous undecided hunk

0 commit comments

Comments
 (0)