iOS - 如何将本地Xcode项目上传到GitHub上
2017-05-09 本文已影响17人
潇岩
首先要cd到你的项目目录下,然后:
git init
git add .
git commit -m "first commit"git remote add origin https://github.com/icefishlily/audioPlayer_2.git//换成你自己的urlgit push -u origin master
git init
git add .
git commit -m "first commit"git remote add originhttps://github.com/icefishlily/audioPlayer_2.git//换成你自己的urlgit push -u origin master
然后输入你的github的帐号密码,等待即可
![](https://img.haomeiwen.com/i4170753/01ddb85ea233c981.png)
![](https://img.haomeiwen.com/i4170753/a70dccb8bc444c28.png)