Improve --patch option documentation in git-add
Signed-off-by: Jari Aalto <jari.aalto@cante.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
4a452ede39
commit
5f2b1e67ca
@ -72,9 +72,14 @@ OPTIONS
|
|||||||
|
|
||||||
-p::
|
-p::
|
||||||
--patch::
|
--patch::
|
||||||
Similar to Interactive mode but the initial command loop is
|
Interactively choose hunks of patch between the index and the
|
||||||
bypassed and the 'patch' subcommand is invoked using each of
|
work tree and add them to the index. This gives the user a chance
|
||||||
the specified filepatterns before exiting.
|
to review the difference before adding modified contents to the
|
||||||
|
index.
|
||||||
|
|
||||||
|
This effectively runs ``add --interactive``, but bypasses the
|
||||||
|
initial command menu and directly jumps to `patch` subcommand.
|
||||||
|
See ``Interactive mode'' for details.
|
||||||
|
|
||||||
-e, \--edit::
|
-e, \--edit::
|
||||||
Open the diff vs. the index in an editor and let the user
|
Open the diff vs. the index in an editor and let the user
|
||||||
|
Loading…
Reference in New Issue
Block a user