heihahu 2014-09-10
GitHub Setup
XCode Setup
Local Git Setup
Execute the following from your command line:
git init git add . git commit -m 'Initial commit from local git' git remote add origin [email protected]:ACCOUNT/PROJECT.git git pull origin master (VIM editor opens) Hit 'i' to add a comment, for example 'Initial merge to sync local git with remote git'. Hit 'ESC'. Hit 'ZZ'. (VIM editor closes) git push origin master
Finally, open project on XCode. If everything went OK you'll see Source Control is configured for GitHub use.
If you try it please let me know how it goes.
一.代码块在哪里?如果上面这张图不小心点没了或者没出来,可以看第一步的操作,然后鼠标停留在选中的区域停留2秒以上就会出现左边的??可以将路径中的代码块,迁移到不同的电脑上使用,需重新启动Xcode ;