newbie branch repo migration question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux