document "intent to add" option to git-add
This was added by 3942581
but never documented.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
parent
310237b969
commit
8776f5d3bb
|
@ -9,8 +9,8 @@ SYNOPSIS
|
||||||
--------
|
--------
|
||||||
[verse]
|
[verse]
|
||||||
'git add' [-n] [-v] [--force | -f] [--interactive | -i] [--patch | -p]
|
'git add' [-n] [-v] [--force | -f] [--interactive | -i] [--patch | -p]
|
||||||
[--all | [--update | -u]] [--refresh] [--ignore-errors] [--]
|
[--all | [--update | -u]] [--intent-to-add | -N]
|
||||||
<filepattern>...
|
[--refresh] [--ignore-errors] [--] <filepattern>...
|
||||||
|
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
-----------
|
-----------
|
||||||
|
@ -92,6 +92,15 @@ OPTIONS
|
||||||
and add all untracked files that are not ignored by '.gitignore'
|
and add all untracked files that are not ignored by '.gitignore'
|
||||||
mechanism.
|
mechanism.
|
||||||
|
|
||||||
|
|
||||||
|
-N::
|
||||||
|
--intent-to-add::
|
||||||
|
Record only the fact that the path will be added later. An entry
|
||||||
|
for the path is placed in the index with no content. This is
|
||||||
|
useful for, among other things, showing the unstaged content of
|
||||||
|
such files with 'git diff' and commiting them with 'git commit
|
||||||
|
-a'.
|
||||||
|
|
||||||
--refresh::
|
--refresh::
|
||||||
Don't add the file(s), but only refresh their stat()
|
Don't add the file(s), but only refresh their stat()
|
||||||
information in the index.
|
information in the index.
|
||||||
|
|
Loading…
Reference in New Issue