X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-add.txt;h=e93e606f458356275964d0d7b438ca772abba47c;hb=75b9a8a6d5aee29b1d0d03935531081e6180c0db;hp=e67b7e875efb465505a969dfe0d29814c87ac9a6;hpb=cd03eebbfdae712bd4a10d6b393980a8137ce305;p=git.git diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt index e67b7e875..e93e606f4 100644 --- a/Documentation/git-add.txt +++ b/Documentation/git-add.txt @@ -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 the `patch` subcommand. +See ``Interactive mode'' for details. -e, \--edit:: Open the diff vs. the index in an editor and let the user