关闭Xcode
打开终端
1.首先先进入到项目目录 cd ****
2.删除原本的git仓库 rm -fr .git
git init
git remote add origin http://******************
git add .
git commit -m “Initial commit”
git push -u origin master
3.然后用Xcode,push
关闭Xcode
打开终端
1.首先先进入到项目目录 cd ****
2.删除原本的git仓库 rm -fr .git
git init
git remote add origin http://******************
git add .
git commit -m “Initial commit”
git push -u origin master
3.然后用Xcode,push
本文标题:Xcode删除原本git,在重新设置新的git地址
本文链接:https://www.haomeiwen.com/subject/xajlmhtx.html
网友评论