]> asedeno.scripts.mit.edu Git - git.git/blobdiff - Documentation/git-add.txt
Merge branch 'rs/maint-archive-prefix'
[git.git] / Documentation / git-add.txt
index e67b7e875efb465505a969dfe0d29814c87ac9a6..45ebf87ca3c31bce8645a0130625f4b653929e5c 100644 (file)
@@ -72,9 +72,14 @@ OPTIONS
 
 -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