We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a452ed commit 5f2b1e6Copy full SHA for 5f2b1e6
Documentation/git-add.txt
@@ -72,9 +72,14 @@ OPTIONS
72
73
-p::
74
--patch::
75
- Similar to Interactive mode but the initial command loop is
76
- bypassed and the 'patch' subcommand is invoked using each of
77
- 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
78
+ index.
79
+
80
+ This effectively runs ``add --interactive``, but bypasses the
81
+ initial command menu and directly jumps to `patch` subcommand.
82
+ See ``Interactive mode'' for details.
83
84
-e, \--edit::
85
Open the diff vs. the index in an editor and let the user
0 commit comments