Re: Git branches - confusing behavior
- From
David Symonds <dsymonds@gmail.com>
- Date
- May 11, 2008, 12:06 UTC
- Message-ID
- <ee77f5c20805110506i58dc735fqb6f4258dbb67bf27@mail.gmail.com>
- In-Reply-To
- <4826DF6A.2070306@gmail.com>
On Sun, May 11, 2008 at 9:58 PM, Dima Kagan <dima.kagan@gmail.com> wrote:
> That's a subjective point of view :) I'm coming from the SVN world and uncommitted changes on one branch don't affect other branches. Is there a way I can achieve this behavior with git?
If you *really* want SVN's behaviour of "branches", just copy your whole working tree (including the .git directory) and start making changes in that. Then they'll be completely separate and you can just 'cd' between them.
Dave.