Skip to content

Instantly share code, notes, and snippets.

@derrh
Forked from CraigCottingham/.gitattributes
Created November 21, 2012 17:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save derrh/4126511 to your computer and use it in GitHub Desktop.
Save derrh/4126511 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