Which files should I include in .gitignore
when using Git in conjunction with Xcode?
I've added:
xcuserstate
xcsettings
and placed my .gitignore file at the root of my project.
After committing and pushing. I then ran:
git rm --cached UserInterfaceState.xcuserstate WorkspaceSettings.xcsettings
buried with the folder below:
/.xcodeproj/project.xcworkspace/xcuserdata/.xcuserdatad/
I then ran git commit and push again