Skip to content

Instantly share code, notes, and snippets.

@CraigCottingham
Created March 21, 2012 14:54
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save CraigCottingham/2147891 to your computer and use it in GitHub Desktop.
Save CraigCottingham/2147891 to your computer and use it in GitHub Desktop.
.gitignore and .gitattributes for Xcode 4.3
# treats your Xcode project file as a binary; prevents Git from trying to fix newlines, show in diffs, and excludes from merges
*.pbxproj -crlf -diff -merge
# OS X noise
.DS_Store
# TextMate noise
*.tm_build_errors
# Xcode noise, after https://github.com/github/gitignore/blob/master/Objective-C.gitignore
build/*
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
*.xcworkspace
!default.xcworkspace
xcuserdata
profile
*.moved-aside
*~.nib
# used to add version strings to *-Info.plist
*/*-Info-plist.h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment