如何更新到多个git远程仓库中
PHPz
PHPz 2017-04-24 09:13:16
0
4
742

比如我想同时更新到github和oschina,gitcafe?如何实现呢
还有就是如何部署两个公钥呢?

PHPz
PHPz

学习是最好的投资!

reply all(4)
小葫芦

For public keys, you can set different hosts to use different public keys in .ssh/config. For details, please refer to http://nerderati.com/2011/03/simplify-your-life-with-an-ssh-config -file/

If deployed in different code bases, you only need to add a few remotes, such as

git remote add remote1 git@git.repo1.com:xxx.git
git remote add remote2 git@git.repo2.com:xxx.git
Peter_Zhu

The public key generated by one computer can be used in multiple GIT repositories at the same time. . .

左手右手慢动作

/q/1010000000367632#a-1020000000369754

左手右手慢动作

Updated to github and oschina, gitcafe:

/q/1010000000172591#a-1020000000172621

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template