From: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>
To: git <git@vger.kernel.org>
Subject: [BUG?] HEAD detached at HEAD
Date: Fri, 18 Sep 2015 18:59:15 +0200 [thread overview]
Message-ID: <vpqk2rnirz0.fsf@anie.imag.fr> (raw)
Hi,
I did a "git checkout --detached", and now I get:
$ git status
HEAD detached at HEAD
nothing to commit, working directory clean
$ git branch
* (HEAD detached at HEAD)
master
The "HEAD detached at HEAD" is not very helpful. I thought there was an
abbreved sha1 here before, but I'm getting the same with latest Git in
master and Git 2.0, so it doesn't seem to be new.
I'm getting it even if there's a tag and/or a branch pointing to the
same commit.
Any idea what's going on?
--
Matthieu Moy
http://www-verimag.imag.fr/~moy/
next reply other threads:[~2015-09-18 16:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-18 16:59 Matthieu Moy [this message]
2015-09-18 17:08 ` [BUG?] HEAD detached at HEAD Jacob Keller
2015-09-18 17:23 ` Matthieu Moy
2015-09-18 17:32 ` Stefan Beller
2015-09-18 19:09 ` Matthieu Moy
2015-09-21 7:31 ` Michael J Gruber
2015-09-21 7:39 ` Michael J Gruber
2015-09-21 7:42 ` Matthieu Moy
2015-09-21 17:20 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=vpqk2rnirz0.fsf@anie.imag.fr \
--to=matthieu.moy@grenoble-inp.fr \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).