Re: git rm --cached and pull semantics
- From
- list@phuk.ath.cx <list@phuk.ath.cx>
- Date
- Jan 18, 2010, 02:31 UTC
- Message-ID
- <4B53C7FF.7060604@phuk.ath.cx>
- In-Reply-To
- <86my0c5l9s.fsf@blue.stonehenge.com>
On 01/18/2010 01:06 AM, Randal L. Schwartz wrote:
Show 10 quoted lines
> The real WTF here is that you are using a workdir as your live dir. > > If you treat git as a *source* manager like it is, you'd also have an > installer that would copy the resulting files into their live locations, > and could be edited to either leave that newly untracked file alone, > or deliberately remove it. > > Use git as intended, and you get no problems. > >
Hm. Good point. I'll try to put that into some post-pull hook and see how it works out. Thanks for the help.