Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


Hi *,

On Fri, Nov 19, 2010 at 5:31 PM, Kohei Yoshida <kyoshida@novell.com> wrote:
On Fri, 2010-11-19 at 19:53 +0900, Takeshi Abe wrote:
$ git branch
* (no branch)
  master

So, I'd like to expand on this mysterious "detached HEAD" thingie in
git, [...]

I'll add to that:
Just never ever thing you're smart and git clone that directory first
to try things. When you do, you're screwed once you delete the
original copy, since the clone doesn't know anything about the
branches after that thing anymore, I had to spend too much time to
fixup with that.

detached heads in git are dangerous!!! Don't use them (always name it,
even if it is "stupidnametonotredoeverythingbecauseofdetachedheadmadness").
I learned the hard way…

Especially when you're used to mercurial and thing "what's so bad
about multiple heads, that's a no-brainer": GIT is very different in
this regard. You have been warned.

ciao
Christian

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.