Git的ignore设置

OCgit

gitignore/Objective-C.gitignoregithub

其余语言xcode

A collection of useful .gitignore templatesapp

单个项目.net

改动过.gitignore文件以后,在repo的根目录下运行:
git rm -r --cached .
git add .
以后能够进行提交:
git commit -m "fixed untracked files"code

*设置为全部项目有效ip

在我的目录下的.gitignore_global文件中填写ignore内容get

例:/Users/hansen/.gitignore_globalit

编辑完后执行如下命令将其设置为全局io

git config --global core.excludesfile ~/.gitignore_global

其余文章

http://www.oschina.net/translate/10-tips-git-next-level?cmp

 

关于安装多个Xcode出现的问题

一、进入/users/你的用户名/.cocoapods/,删除master文件夹

二、pod setup

三、sudo xcode-select -switch /Applications/Xcode.app/

四、pod update --no-repo-update

五、pod install --verbose --no-repo-update

相关文章
相关标签/搜索