Thread (1 message) 1 message, 1 author, 2016-06-15

Re: disallowing push to currently checked-out branch

From: Matthieu Moy <hidden>
Date: 2016-06-15 22:46:12

Sergio Callegari [off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help