threads / discuss / 11712

newbie branch repo migration question

Subject: newbie branch repo migration question

## tl;dr

One message between Jan 23, 2008 and Jan 23, 2008.

replies: 0people: 1as markdown or json

David Mansfield· Jan 23, 2008, 16:03 UTC · lore
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

← back to recent threads