# newbie branch repo migration question

1 messages from 2008-01-23 to 2008-01-23. Participants: David Mansfield.
Thread: https://gitlist.dev/t/11712

## David Mansfield, 2008-01-23 16:03

Subject: newbie branch repo migration question
Message-ID: <1201104233.3001.123.camel@gandalf.cobite.com>
URL: https://gitlist.dev/e/1201104233.3001.123.camel%40gandalf.cobite.com

```
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

```
