]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/git-add.txt
Add "--patch" option to git-add--interactive
[thirdparty/git.git] / Documentation / git-add.txt
index 63829d93cc827255355aa07a7db061b1a3a9e4d9..ce22de8d2e1413d836ceba4c2441e5567d12ea03 100644 (file)
@@ -61,7 +61,14 @@ OPTIONS
 
 -i, \--interactive::
        Add modified contents in the working tree interactively to
-       the index.
+       the index. Optional path arguments may be supplied to limit
+       operation to a subset of the working tree. See ``Interactive
+       mode'' for details.
+
+-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.
 
 -u::
        Update only files that git already knows about. This is similar