Re: Dangers of working on a tracking branch
- From
Nicolas Pitre <nico@cam.org>
- Date
- Feb 15, 2007, 21:00 UTC
- Message-ID
- <Pine.LNX.4.64.0702151557410.1757@xanadu.home>
- In-Reply-To
- <17876.51013.561979.431717@lisa.zopyra.com>
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.
This is why with Git 1.5.0 tracking branches are in a different namespace by default to which you cannot commit.
Nicolas