git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* newbie branch repo migration question
@ 2008-01-23 16:03 David Mansfield
  0 siblings, 0 replies; only message in thread
From: David Mansfield @ 2008-01-23 16:03 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-01-23 16:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-23 16:03 newbie branch repo migration question David Mansfield

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).