赞
踩
先删后加(靠谱)
1、git remote rm origin(删除远程地址)
2、git remote add origin [url](‘[]’内为新的git仓库地址,真实写命令时不要带中括号‘[]’)
上传本地代码到新的git库
3、git add .
4、git commit -m '啦啦啦'
5、git pull
- Warning: Permanently added 'gitlab.haha.com,106.75.67.115' (ECDSA) to the list of known hosts.
- From gitlab.haha.com:h5/h5-react-admin
- * [new branch] master -> origin/master
- There is no tracking information for the current branch.
- Please specify which branch you want to merg
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。