Re: Can we stage all files using "git add" command, except some specific files ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 27, 2014 at 5:06 AM, Javier Domingo Cansino
<javierdo1@xxxxxxxxx> wrote:
> If you don't want an specific file, but you neither the .gitignore,
> just use .git/info/exclude file for project specific or
> $HOME/.config/git/ignore for user level.

This is actually better. 'git add' does not allow to specify exclude
patterns in command line (more convenient then editing .gitignore)
like ls-files. Perhaps we should add it for one-shot exclusion?

> Anyway, this is all in man gitignore
>
> [1] Git ignore man page: http://git-scm.com/docs/gitignore
> Javier Domingo Cansino
-- 
Duy
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]