前提:使用了--bare 克隆了裸版本库
git clone --bare http:// (原始仓库地址)
进入到clone下来的项目文件夹下,执行命令,推送到新的远程仓库下
git push --mirror http//新的仓库地址
更换远程仓库地址
git remote set-url origin 新的远程仓库地址
接下里就开始常规操作就好
前提:使用了--bare 克隆了裸版本库
git clone --bare http:// (原始仓库地址)
进入到clone下来的项目文件夹下,执行命令,推送到新的远程仓库下
git push --mirror http//新的仓库地址
更换远程仓库地址
git remote set-url origin 新的远程仓库地址
接下里就开始常规操作就好