Re: [RFC] git-clone: add --track <headname> support
From: Junio C Hamano <hidden> Date: 2016-06-15 22:43:04
Martin Langhoff [off-list ref] writes:
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.