0
推我想添加一個IOS項目到位桶, 所以我這樣做:錯誤提交,並在到位桶
cd /path/to/my/project
git init
git remote add origin https://[email protected]/nunito/my_first_app_ios.git
acBook-Pro-de-nunito:MyFirstApp nunito$ git commit -m 'Initial commit'
On branch master
Initial commit
Untracked files:
MyFirstApp.xcodeproj/
MyFirstApp/
MyFirstAppTests copy-Info.plist
MyFirstAppTests/
icons/
nothing added to commit but untracked files present
但同時,項目還沒有被添加到Git的!!!!
您需要提交之前,運行'git add'。 – Rob