Skip to content

Commit

Permalink
Update git-add.txt according to the new possibilities of 'git add -p'.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Matthieu Moy authored and Junio C Hamano committed Apr 19, 2009
1 parent 7535e5a commit cafa567
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Documentation/git-add.txt
Original file line number Diff line number Diff line change
Expand Up @@ -245,9 +245,11 @@ patch::

y - stage this hunk
n - do not stage this hunk
q - quite, do not stage this hunk nor any of the remaining ones
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
Expand Down

0 comments on commit cafa567

Please sign in to comment.