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

Re: Message from git reset: confusing?

From: John Tapsell <hidden>
Date: 2016-06-15 22:47:09

Even if people don't know what "M" means on day 1 (although hopefully
they don't need "git reset" on day 1), at least it doesn't look like
an error message.
Actually for newbies, git reset is pretty much the first thing they
learn to try to undo the mess that they created.

Almost the very first thing a newbie to git does is something like:

$ git checkout experimental_branch
<modify file>
$ git commit
..
(what do you mean I've committed to a detached head?  why is
everything going wrong?  what's happening!!)

$ git reset
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help