File tree Expand file tree Collapse file tree 4 files changed +32
-8
lines changed
Expand file tree Collapse file tree 4 files changed +32
-8
lines changed Original file line number Diff line number Diff line change @@ -322,8 +322,8 @@ <h2>SYNOPSIS</h2>
322322< div class ="sectionbody ">
323323< div class ="verseblock ">
324324< div class ="content "> < em > git add</ em > [-n] [-v] [--force | -f] [--interactive | -i] [--patch | -p]
325- [--all | [--update | -u]] [--refresh] [--ignore-errors] [-- ]
326- <filepattern>…</ div > </ div >
325+ [--all | [--update | -u]] [--intent-to-add | -N ]
326+ [--refresh] [--ignore-errors] [--] <filepattern>…</ div > </ div >
327327</ div >
328328< h2 id ="_description "> DESCRIPTION</ h2 >
329329< div class ="sectionbody ">
@@ -455,6 +455,21 @@ <h2 id="_options">OPTIONS</h2>
455455</ p >
456456</ dd >
457457< dt >
458+ -N
459+ </ dt >
460+ < dt >
461+ --intent-to-add
462+ </ dt >
463+ < dd >
464+ < p >
465+ Record only the fact that the path will be added later. An entry
466+ for the path is placed in the index with no content. This is
467+ useful for, among other things, showing the unstaged content of
468+ such files with < em > git diff</ em > and commiting them with < em > git commit
469+ -a</ em > .
470+ </ p >
471+ </ dd >
472+ < dt >
458473--refresh
459474</ dt >
460475< dd >
@@ -686,7 +701,7 @@ <h2 id="_git">GIT</h2>
686701</ div >
687702< div id ="footer ">
688703< div id ="footer-text ">
689- Last updated 2008-09-19 06:32:41 UTC
704+ Last updated 2008-10-21 19:04:10 UTC
690705</ div >
691706</ div >
692707</ body >
Original file line number Diff line number Diff line change 99--------
1010[verse]
1111'git add' [-n] [-v] [--force | -f] [--interactive | -i] [--patch | -p]
12- [--all | [--update | -u]] [--refresh] [--ignore-errors] [-- ]
13- <filepattern>...
12+ [--all | [--update | -u]] [--intent-to-add | -N ]
13+ [--refresh] [--ignore-errors] [--] <filepattern>...
1414
1515DESCRIPTION
1616-----------
@@ -92,6 +92,15 @@ OPTIONS
9292 and add all untracked files that are not ignored by '.gitignore'
9393 mechanism.
9494
95+
96+ -N::
97+ --intent-to-add::
98+ Record only the fact that the path will be added later. An entry
99+ for the path is placed in the index with no content. This is
100+ useful for, among other things, showing the unstaged content of
101+ such files with 'git diff' and commiting them with 'git commit
102+ -a'.
103+
95104--refresh::
96105 Don't add the file(s), but only refresh their stat()
97106 information in the index.
Original file line number Diff line number Diff line change @@ -553,7 +553,7 @@ <h3 id="_merge_workflow">Merge workflow</h3><div style="clear:left"></div>
553553from.</ p > </ div >
554554</ div > </ div >
555555< div class ="para "> < p > You will still have to tell people by other means, such as mail. (Git
556- provides the < a href ="request-pull.html "> request-pull(1)</ a > to send preformatted pull
556+ provides the < a href ="git- request-pull.html "> git- request-pull(1)</ a > to send preformatted pull
557557requests to upstream maintainers to simplify this task.)</ p > </ div >
558558< div class ="para "> < p > If you just want to get the newest copies of the integration branches,
559559staying up to date is easy too:</ p > </ div >
@@ -650,7 +650,7 @@ <h2 id="_git">GIT</h2>
650650</ div >
651651< div id ="footer ">
652652< div id ="footer-text ">
653- Last updated 2008-10-20 05:42:02 UTC
653+ Last updated 2008-10-21 19:04:10 UTC
654654</ div >
655655</ div >
656656</ body >
Original file line number Diff line number Diff line change @@ -258,7 +258,7 @@ from.
258258=====================================
259259
260260You will still have to tell people by other means, such as mail. (Git
261- provides the linkgit:request-pull[1] to send preformatted pull
261+ provides the linkgit:git- request-pull[1] to send preformatted pull
262262requests to upstream maintainers to simplify this task.)
263263
264264If you just want to get the newest copies of the integration branches,
You can’t perform that action at this time.
0 commit comments