Files
git/Documentation
Junio C Hamano e23ca9e1f9 git-add: add ignored files when asked explicitly.
One thing many people found confusing about git-add was that a
file whose name matches an ignored pattern could not be added to
the index.  With this, such a file can be added by explicitly
spelling its name to git-add.

Fileglobs and recursive behaviour do not add ignored files to
the index.  That is, if a pattern '*.o' is in .gitignore, and
two files foo.o, bar/baz.o are in the working tree:

    $ git add foo.o
    $ git add '*.o'
    $ git add bar

Only the first form adds foo.o to the index.

Signed-off-by: Junio C Hamano <junkio@cox.net>
2006-12-25 03:29:08 -08:00
..
2005-11-08 08:58:52 -08:00
2006-12-13 09:41:18 -08:00
2006-03-02 00:52:59 -08:00
2006-05-24 22:29:23 -07:00
2006-06-07 11:49:35 -07:00
2006-06-07 11:49:35 -07:00
2006-07-09 02:42:41 -07:00
2006-09-27 23:59:09 -07:00
2006-07-09 02:42:41 -07:00
2006-07-09 02:42:41 -07:00
2006-07-09 02:42:41 -07:00
2006-06-03 23:54:55 -07:00
2006-11-06 22:56:07 -08:00
2006-10-22 22:51:42 -07:00
2006-12-09 11:13:17 -08:00
2006-12-20 11:26:11 -08:00
2006-11-07 16:33:59 -08:00
2006-12-25 03:29:08 -08:00
2006-11-18 14:04:45 -08:00
2006-06-03 23:54:55 -07:00
2006-11-19 22:59:05 -08:00
2006-12-21 22:44:04 -08:00
2006-07-09 02:42:41 -07:00
2006-09-09 11:57:37 -07:00
2006-06-21 02:34:14 -07:00
2006-05-01 22:29:16 -07:00
2006-12-16 05:15:28 -08:00
2006-09-20 09:00:14 -07:00
2006-06-24 01:11:19 -07:00
2006-10-23 13:19:49 -07:00