Re: [PATCH] checkout -d: explicitly detach HEAD even when switching to the tip of a branch

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: [PATCH] checkout -d: explicitly detach HEAD even when switching to the tip of a branch

From: Xavier Maillard <hidden>
Date: 2016-06-15 22:43:02

   This allows you to detach your HEAD and place it at such a

       $ git checkout -d master

Hum, excuse my ignorance, but can you explain what exactly could
be a use case of this ?

Xavier

Re: [PATCH] checkout -d: explicitly detach HEAD even when switching to the tip of a branch

From: Alex Riesen <hidden>
Date: 2016-06-15 22:43:02

Xavier Maillard, Thu, Mar 29, 2007 12:44:42 +0200:
   This allows you to detach your HEAD and place it at such a

       $ git checkout -d master

Hum, excuse my ignorance, but can you explain what exactly could
be a use case of this ?
A throw-away or an experimental work. A commit importer which cares
about the branch it commits on: to update the branch reference only
when it has reached a stable state.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help