Re: [PATCH] checkout -d: explicitly detach HEAD even when switching to the tip of a branch
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Mar 29, 2007, 17:10 UTC
- Message-ID
- <20070329171024.GA2809@steel.home>
- In-Reply-To
- <200703291044.l2TAig5M021533@localhost.localdomain>
Xavier Maillard, Thu, Mar 29, 2007 12:44:42 +0200:
Show 6 quoted lines
> 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.