summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4a452ed)
raw | patch | inline | side by side (parent: 4a452ed)
author | Jari Aalto <jari.aalto@cante.net> | |
Sun, 13 Sep 2009 06:43:10 +0000 (09:43 +0300) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 13 Sep 2009 08:36:13 +0000 (01:36 -0700) |
Signed-off-by: Jari Aalto <jari.aalto@cante.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-add.txt | patch | blob | history |
index e67b7e875efb465505a969dfe0d29814c87ac9a6..45ebf87ca3c31bce8645a0130625f4b653929e5c 100644 (file)
-p::
--patch::
- Similar to Interactive mode but the initial command loop is
- bypassed and the 'patch' subcommand is invoked using each of
- the specified filepatterns before exiting.
+ Interactively choose hunks of patch between the index and the
+ work tree and add them to the index. This gives the user a chance
+ 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::
Open the diff vs. the index in an editor and let the user