I have a .gitignore file in my app's root directory; no matter where I place it, Git seems to ignore the contents, such as xcuserstate. This is the contents of my .gitignore file:
# Xcode
#
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate
DBChooser.*
This is partially what shows when I do a commit from XCode5's Source Control menu item:
What am I doing wrong?