On Sat, Jul 14, 2007 at 01:33:31AM -0700, Junio C Hamano wrote:
quoted
since git-branch is usually used for _making_ a branch, whereas
"branch -f" is very often used to "reset the branch tip". My
git day typically begins with "branch -f pu next".
I think we just have a different perspective of what is "usual" here.
Actually, after thinking about this a bit more, I have become
somewhat reluctant, as this might confuse new users by giving
them a wrong mental model of what "reset" is about.
OK, as I said on irc, I don't think this is a huge issue in the first
place, and your argument about encouraging a particular workflow for
git-reset makes some sense (even if that hasn't been my approach to
git-reset in the past).
-Peff