cd existing_repo //打开项目目录 git remote remove origin //删除远程库 git remote add origin [SSH URL or HTTP URL] //添加远程库 git push -u origin --all //将branch push到程库 git push -u origin --tags //将tag push到远程库
标签:repo 服务 add pre pos push tags 打开 bsp
cd existing_repo //打开项目目录 git remote remove origin //删除远程库 git remote add origin [SSH URL or HTTP URL] //添加远程库 git push -u origin --all //将branch push到程库 git push -u origin --tags //将tag push到远程库
标签:repo 服务 add pre pos push tags 打开 bsp
原文地址:http://www.cnblogs.com/kangweifeng/p/8064877.html