summaryrefslogtreecommitdiffstats
path: root/git-add.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2007-12-05 10:59:48 +0000
committerJunio C Hamano <junio@hera.kernel.org>2007-12-05 10:59:48 +0000
commite0facb91f036fe57e82a8d55f86a0a387b8562e6 (patch)
treef2692d484243f4610b954bfafa1b9707d8482d5a /git-add.txt
parent58256872f2578443b3c8aff87ad0304e6b497b1d (diff)
downloadgit-htmldocs-e0facb91f036fe57e82a8d55f86a0a387b8562e6.tar.gz
Autogenerated HTML docs for v1.5.3.7-1066-g7a4a
Diffstat (limited to 'git-add.txt')
-rw-r--r--git-add.txt11
1 files changed, 10 insertions, 1 deletions
diff --git a/git-add.txt b/git-add.txt
index 63829d93c..e74f83b47 100644
--- a/git-add.txt
+++ b/git-add.txt
@@ -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
@@ -210,6 +217,8 @@ patch::
k - do not decide on this hunk now, and view the previous
undecided hunk
K - do not decide on this hunk now, and view the previous hunk
+ s - split the current hunk into smaller hunks
+ ? - print help
+
After deciding the fate for all hunks, if there is any hunk
that was chosen, the index is updated with the selected hunks.