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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]