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

相關文章
相關標籤/搜索