Re: Ignoring local changes
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Dec 15, 2006, 00:15 UTC
- Message-ID
- <Pine.LNX.4.63.0612150114030.3635@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <9e7ab7380612141336p3b930047l3a4a76947239162f@mail.gmail.com>
Hi,
On Thu, 14 Dec 2006, Pazu wrote:
Show 13 quoted lines
> 2006/12/14, Rogan Dawes <discard@dawes.za.net>: > > > Why not remove it from the repo, then set .gitignore? > > > > If it is generated code, or compiled code, it probably shouldn't be in > > the repo in the first place . . . Simply correct that mistake, and you > > are good to go. > > Basically, because I don't want to mess with the upstream. I know, I > can remove them only from my local branch, and never push the commit > that removed the files, and that's what I'll probably do if there's no > other way -- but it would be best if I could just ignore the files. It > doesn't sound unreasonable, does it?
It is not unreasonable. But I could not find an easy way to do it with git. It should be easy to hack it into it, though.
Ciao, Dscho