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

Re: [PATCH 5/5] docs/checkout: clarify what "non-branch" means

From: Jakub Narebski <hidden>
Date: 2016-06-15 22:46:36

Mark Levedahl wrote:

In this vein, I suggest that
      $ git checkout --detach master
as a way to get a detached HEAD on branch master is more understandable than
      $ git checkout refs/heads/master
To detach, use
        $ git checkout master^0

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help