On Mon, Feb 16, 2009 at 4:04 AM, Junio C Hamano <gitster@xxxxxxxxx> wrote: > * @{-1} is a way to refer to the last branch you were on. This is > accepted not only where an object name is expected, but anywhere > a branch name is expected and acts as if you typed the branch name. > E.g. "git branch --track mybranch @{-1}", "git merge @{-1}", and > "git rev-parse --symbolic-full-name @{-1}" would work as expected. I always find explicit examples clearer, especially since you really have no idea what the reader expects. Some folks just have unreasonable expectations. :-) So, master> git checkout next next> git branch --track mybranch @{-1} Creates "mybranch" from master, *not from next*, correct? Also, the "--track" option is an unnecessary distraction to the example, isn't it? j. -- 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