Re: disallowing push to currently checked-out branch
- From
Matthieu Moy <matthieu.moy@imag.fr>
- Date
- Feb 16, 2009, 17:33 UTC
- Message-ID
- <vpq4oyu70dn.fsf@bauges.imag.fr>
- In-Reply-To
- <49999ED6.7010608@gmail.com>
Sergio Callegari <sergio.callegari@gmail.com> 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