Hi, On 8 April 2011 00:03, Junio C Hamano <gitster@xxxxxxxxx> wrote: > Just like "git checkout -" is a short-hand for "git checkout @{-1}" to > conveniently switch back to the previous branch, "git merge -" is a > short-hand for "git merge @{-1}" to conveniently merge the previous branch. > > It will allow me to say: > > Â Â$ git checkout -b au/topic > Â Â$ git am -s ./+au-topic.mbox > Â Â$ git checkout pu > Â Â$ git merge - I agree this is is useful, but is there a danger of this being a common typo, and people merging in previous branches a lot more often than they ever intended? In the case of "git checkout -" that's not as fatal, but if I ever mistype "git merge -" -- I'm now left with an unraveling exercise to do. Hopefully it won't be an issue, as it's no worse than mistyping branch names -- I suppose it's the sheer length of "-" in this case which leads to more potential for problems. -- Thomas Adam -- 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