Hi, On Tue, 16 Jun 2009, Martin Nordholts wrote: > The git-branch documentation states that the start-point defaults to the > current branch if omitted. I interpret that to mean that > > git checkout origin/somebranch This detaches the HEAD. > git branch newbranch This gives the detached HEAD a name. > is equivalent to > > git branch newbranch origin/somebranch In this case, we know exactly from which remote branch the new branch was created. The difference? In the former case, origin can be long gone by the time the new branch is created. And you have to make sure that once we switch away (by whatever means) from the detached HEAD, the tracking information is deleted. All in all, your wish sounds rather fragile and thus not desirable to me. Ciao, Dscho P.S.: Disclaimer skipped as we talked on IRC about it, and I am actually surprised you still think it would be a sensible idea. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html