Re: Dangers of working on a tracking branch
- From
Bill Lear <rael@zopyra.com>
- Date
- Feb 15, 2007, 21:21 UTC
- Message-ID
- <17876.52962.662946.582507@lisa.zopyra.com>
- In-Reply-To
- <Pine.LNX.4.64.0702151557410.1757@xanadu.home>
On Thursday, February 15, 2007 at 16:00:23 (-0500) Nicolas Pitre writes:
Show 9 quoted lines
>On Thu, 15 Feb 2007, Bill Lear wrote: > >> We are about to switch to git 1.5 from git 1.4.4.1. I cannot remember >> if someone posted about this, but what is the danger of working on a >> tracking branch --- there are abundant cautions about doing this, but >> I can't recall and can't find the reason this is bad. > >A tracking branch is supposed to be a local mirror of what is available >remotely. If you commit local changes to it then you break that model.
Ok, so I break the model, what is the harm in that? Can I no longer pull from or push to the remote branch? Do I corrupt something locally? Does something else break? I'm trying to formulate an explanation to our users why the 1.5 way is superior and I can't just say "if you do that you break the model".
Bill