git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Mansfield <david@cobite.com>
To: git@vger.kernel.org
Subject: newbie branch repo migration question
Date: Wed, 23 Jan 2008 11:03:53 -0500	[thread overview]
Message-ID: <1201104233.3001.123.camel@gandalf.cobite.com> (raw)

Hi,

Suppose I have a local repo with a branch, 'master'.  And I create a
branch based on it called, 'topic1'.  And I work and commit etc., make
changes on 'master' and merge them back and forth etc.

Now I want to move the 'master' to a remote repository, but not
'topic1', and then I want to switch 'topic1' as a branch of the remote
'master' and not the local one.  In fact, I want to 'get rid' of master
locally (or, rather, have 'master' be a tracking branch of
remotes/foo/master).

How is this accomplished?

Thanks,
David

                 reply	other threads:[~2008-01-23 16:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1201104233.3001.123.camel@gandalf.cobite.com \
    --to=david@cobite.com \
    --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).