Re: [RFC] git-clone: add --track <headname> support
- From
Junio C Hamano <junkio@cox.net>
- Date
- Apr 13, 2007, 00:28 UTC
- Message-ID
- <7v3b35i0db.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <461EC5DC.6060903@catalyst.net.nz>
Martin Langhoff <martin@catalyst.net.nz> writes:
Show 5 quoted lines
> If your tree is reasonably clean (so that the implied git-checkout won't > fail), then on 1.5.1 this Just Works > > git branch --track <branch> origin/<branch> > git pull # as needed
At least in theory, with branch.autosetupmerge, you shouldn't even have to say --track there. I've never used it myself, though.