Re: Any way to ignore a change to a tracked file when committing/merging?

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

 



On Wed, 13 Jun 2007, David Watson wrote:

> Because git-commit -a is nice to use, especially if I really want to check in
> all the files, *except a particular set that is always the same*. Having to
> specify the files every time gets old pretty quick.
> 
> If I could do this:
> 
> $ git-commit -a --exclude=somefile
> 
> that would be very useful. Or even, if I could set a file in my .git folder
> that would be an exclude list, then I could run something like
> 
> $ git-commit -a --use-excludes
> 
> I suppose the answer is to create the patch myself.

Well, before that I'd suggest you have a look at the git-add man page, 
especially the -u flag and the core.excludesfile config option.


Nicolas
-
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]

  Powered by Linux