How do I push all remote branches to a new/different remote?

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

 



I simply want to move an existing repository 'as is' from one place to
another (the another being github fwiw). I would like to keep all the
branch information intact.

That is,

git clone ...existing remote repo...
cd ..
git remote add ...new remote repo..
git push ...you tell me..

So, there are *no* local branches to bother about, but I have hundreds
of remote ones. I can't spot a way to do this.
--
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]