On Mon, Jul 20, 2015 at 11:51:10PM -0700, dexter ietf wrote: > Hi, > > i want to add a remote for a private branch. i have a parent > repository call it (P). and two clones of P on different machines > (a) and (b), call it Pa and Pb. now in machine (a) i want to create > a private branch tracking Pb, how do i go about achieving this, any > help is appreciated.. thanks!
Add the remote using `git remote add ...`, then use `git fetch <name of remote>` to get the changesets, and then just check out the branch you want using `git checkout --track <name of remote branch>`. You should find this information easily in any online git tutorial, e.g. here http://git-scm.com/book/en/v2/Git-Branching-Remote-Branches /M -- Magnus Therning OpenPGP: 0xAB4DFBA4 email: mag...@therning.org jabber: mag...@therning.org twitter: magthe http://therning.org/magnus The British have "the perfect temperament to be hackers--technically skilled, slightly disrespectful of authority, and just a touch of criminal behavior". -- Mary Ann Davidson, Oracle's Security Chief -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Description: PGP signature