我开始使用带有xcode项目的git,并且最近发现我可以使用.gitignore和.gitattributes文件来忽略编译器和系统的噪音. 现在我已经有了.gitignore和.gitattributes文件了,我如何"应用"新的忽略规则并摆脱版本控制的问题?
我的.gitignore文件是:
# xcode noise
*.modelv3
*.pbxuser
*.perspective
*.perspectivev3
*.pyc
*~.nib/
build/*
# Textmate - if you build your xcode projects with it
*.tm_build_errors
# old skool
.svn
# osx noise
.DS_Store
profile
Run Code Online (Sandbox Code Playgroud)
我的.gitattributes文件是:
*.pbxproj -crlf -diff -merge
Run Code Online (Sandbox Code Playgroud)
谢谢!
git ×1