1. git clone某个远程仓库的代码到本地
2. git remote -v 查看当前远程仓库地址
3. git remote add *2***(新远程仓库名) ****(新远程仓库地址)
4.将本地代码推动到新的远程仓库地址
git push *2*** 远程分支名
1. git clone某个远程仓库的代码到本地
2. git remote -v 查看当前远程仓库地址
3. git remote add *2***(新远程仓库名) ****(新远程仓库地址)
4.将本地代码推动到新的远程仓库地址
git push *2*** 远程分支名
转载于:https://www.cnblogs.com/lyraLee/p/10905864.html