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 <Matthieu.Moy@imag.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Matthieu Moy committed
Apr 16, 2009 at 18:46 UTC
595f6948232a2e37df4f63476662cba20ecf9d8d
1 file changed
+3
-1
Documentation/git-add.txt
+3
-1
@@ -245,9 +245,11 @@ patch::
245
246
y - stage this hunk
247
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
249
a - stage this and all the remaining hunks in the file
250
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
253
j - leave this hunk undecided, see next undecided hunk
254
J - leave this hunk undecided, see next hunk
255
k - leave this hunk undecided, see previous undecided hunk