diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-02-05 15:33:56 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-02-05 15:33:56 -0800 |
commit | 2567b326fac6961a6fc6075ad2f22a744252f2f3 (patch) | |
tree | 2e4c640f64f1f8f00b992e414a2fd316aea798d4 /git-add.txt | |
parent | cf7310088e7328f8aa7ea2c5de767ef9499b5d78 (diff) | |
download | git-htmldocs-2567b326fac6961a6fc6075ad2f22a744252f2f3.tar.gz |
Autogenerated HTML docs for v2.20.1-519-g8fedd
Diffstat (limited to 'git-add.txt')
-rw-r--r-- | git-add.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/git-add.txt b/git-add.txt index 45652fe4a..37bcab94d 100644 --- a/git-add.txt +++ b/git-add.txt @@ -58,9 +58,9 @@ OPTIONS specifying `dir` will record not just a file `dir/file1` modified in the working tree, a file `dir/file2` added to the working tree, but also a file `dir/file3` removed from - the working tree. Note that older versions of Git used + the working tree). Note that older versions of Git used to ignore removed files; use `--no-all` option if you want - to add modified or new files but ignore removed ones. + to add modified or new files but ignore removed ones. + For more details about the <pathspec> syntax, see the 'pathspec' entry in linkgit:gitglossary[7]. @@ -124,7 +124,7 @@ subdirectories). --no-ignore-removal:: Update the index not only where the working tree has a file matching <pathspec> but also where the index already has an - entry. This adds, modifies, and removes index entries to + entry. This adds, modifies, and removes index entries to match the working tree. + If no <pathspec> is given when `-A` option is used, all @@ -206,7 +206,7 @@ EXAMPLES -------- * Adds content from all `*.txt` files under `Documentation` directory -and its subdirectories: + and its subdirectories: + ------------ $ git add Documentation/\*.txt |