GIT的一些操作
git仓库迁移,包括所有分支和标签
git clone --mirror http://git./test-frontend.git test-frontend
克隆项目到 test-frontend文件夹下,--mirror 表示所有分支和标签
cd test-frontend
切到目录下
git remote add bd http://git./new-frontend.git
设置第二个远程仓库 bd
git push bd --all
推送所有分支到远程bd仓库
git push bd --tags
推送所有标签到远程bd仓库
原文地址:https://blog.csdn.net/qq_35761348/article/details/147228923
免责声明:本站文章内容转载自网络资源,如侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!