git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jakub Narebski <jnareb@gmail.com>
To: Zenaan Harkness <zen@freedbms.net>
Cc: git@vger.kernel.org
Subject: Re: merge two local mirrors with detached heads and similar remotes
Date: Sun, 07 Nov 2010 03:52:39 -0800 (PST)	[thread overview]
Message-ID: <m3vd49fj1k.fsf@localhost.localdomain> (raw)
In-Reply-To: <AANLkTi=JmpXEiEe-7-ZicUp-QosWjTZQgK77-f=9iAtL@mail.gmail.com>

Zenaan Harkness <zen@freedbms.net> writes:

> ---------
> Looks very much like success to me. Small thing I notice is this line:
>   remotes/origin/HEAD -> origin/master
> 
> has become this:
>   remotes/lach/HEAD
> 
> (ie it's not a link any more - probably not particularly relevant,
> perhaps git gc would automate tidying this?)

It might be detached head: you can check it by using

  $ git rev-parse --symbolic-full-name remotes/lach/HEAD

If it is 'remotes/lach/HEAD' or 'HEAD', it is detached HEAD
(unnamed branch).


> Should something like Junio's tutorial go into
> Documentation/gitworkflows.xml(ARGGH!) ?
> If not, where else?
> Is there anything besides vim (about all I know) you can recommend for
> editing xml(ARGGH!) docs?

Documentation/gitworkflows.txt is source of XML, HTML, info and
manpage versions - please edit source (in AsciiDoc), and not generated
documentation.

-- 
Jakub Narebski
Poland
ShadeHawk on #git

      parent reply	other threads:[~2010-11-07 11:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-07  2:40 merge two local mirrors with detached heads and similar remotes Zenaan Harkness
2010-11-07  9:27 ` Zenaan Harkness
2010-11-07  9:42   ` Zenaan Harkness
2010-11-07 11:52   ` Jakub Narebski [this message]

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=m3vd49fj1k.fsf@localhost.localdomain \
    --to=jnareb@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=zen@freedbms.net \
    /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).