Re: How to ignore deleted files
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Mar 11, 2008, 14:10 UTC
- Message-ID
- <m3y78pxsf5.fsf@localhost.localdomain>
- In-Reply-To
- <47D68203.10905@bioinf.uni-sb.de>
Andreas Hildebrandt <anhi@bioinf.uni-sb.de> writes:
Show 8 quoted lines
> Dear all, > > our git repository contains a number of .tar.gz - files that are > automatically extracted and then deleted during the build process. > Unfortunately, commiting any changes after that step will mark those > files as deleted and try to commit that to the repository. Is there any > way to tell git to ignore those files automatically (apart from changing > our build process not to use or not to delete those files)?
I don't quite understand: are those .tar.gz files stored in _source_ repository? That would be a bit strange...
I guess that you have tried adding "*.tar.gz" to either .gitignore or .git/info/excludes file?
Another solution would be (if they are truly needed to reside in repository) to re-checkout them as a last part of build process / after-build process.
-- Jakub Narebski Poland ShadeHawk on #git