Thread (4 messages) flat view 4 messages, 2 authors, 2016-06-15

Re: [PATCH] git-reset: allow --soft in a bare repo

From: Jeff King <hidden>
Date: 2016-06-15 22:43:21

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help