Badge | SCM status | M | Locally modified |
U | Updated in repository | ||
A | Locally added | ||
D | Locally deleted | ||
I | Ignored | ||
R | Replaced in the repository | ||
– | The contents of the folder have mixed status; display the contents to see individual status | ||
? | Not under source control |
1、新建项目时,可以选择带不带源码管理(默认是GIT)
2、已存在项目,可以通过命令行实现git支持。
进到有xcode 工程文件的那个目录。
git init
git add .
git commit -m "Initial commit."