Re: disallowing push to currently checked-out branch

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

 



Sergio Callegari <sergio.callegari@xxxxxxxxx> writes:

> I guess that git does not let you commit on a detached head without
> crying out loud.

For some definition of "crying out loud" only ;-)

$ git branch
* (no branch)
  master
$ git commit -a -m foo
[detached HEAD b27b4e3] foo
 1 files changed, 1 insertions(+), 2 deletions(-)

-- 
Matthieu
--
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]

  Powered by Linux