From: Eric Sunshine Date: Mon, 16 Mar 2015 00:36:53 GMT Subject: Re: [PATCH 2/3 v2] Documentation/git-add.txt: describe --exclude option Message-ID: In-Reply-To: <1426446416-5753-1-git-send-email-kuleshovmail@gmail.com> On Sun, Mar 15, 2015 at 3:06 PM, Alexander Kuleshov wrote: > Helped-by: Eric Sunshine > Signed-off-by: Alexander Kuleshov > --- > diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt > index f2eb907..fee97ed 100644 > --- a/Documentation/git-add.txt > +++ b/Documentation/git-add.txt > @@ -9,7 +9,7 @@ SYNOPSIS > -------- > [verse] > 'git add' [--verbose | -v] [--dry-run | -n] [--force | -f] [--interactive | -i] [--patch | -p] > - [--edit | -e] [--[no-]all | --[no-]ignore-removal | [--update | -u]] > + [--edit | -e] [--[no-]all | --[no-]ignore-removal | [--update | -u]] [--exclude=] > [--intent-to-add | -N] [--refresh] [--ignore-errors] [--ignore-missing] > [--] [...] > > @@ -164,6 +164,10 @@ for "git add --no-all ...", i.e. ignored removed files. > be ignored, no matter if they are already present in the work > tree or not. > > +--exclude=:: > + Also ignore files matching , a .gitignore-like > + pattern. Option can be used multiply times. s/multiply/multiple/ > + > \--:: > This option can be used to separate command-line options from > the list of files, (useful when filenames might be mistaken > -- > 2.3.3.472.g20ceeac.dirty