Re: Committing updates: do I need "User Data" / "User Interface State"?
Re: Committing updates: do I need "User Data" / "User Interface State"?
- Subject: Re: Committing updates: do I need "User Data" / "User Interface State"?
- From: Andreas Grosam <email@hidden>
- Date: Wed, 21 Mar 2012 18:54:49 +0100
On Mar 21, 2012, at 3:18 PM, David Hoerl wrote:
> Everytime I go to commit my updates (using git), the top highlighted file is "user Interface State". While I'm trying to enter the commit message, I often get cut off due to a change in the "User Interface State" file.
>
> So, I always need to just highlight another file to finish the message and commit.
>
> I have avoided unchecking that file, but this behavior is getting more annoying, so asking - any reason I need to keep updating this file or can I safely uncheck it. If the latter, why isn't this the default behavior?
>
> David
Apparently, git tracks your user specific settings, which is not desired. You should fix your .gitignore file (which is located beneath .git folder):
# OS X folder attributes
.DS_Store
# Xcode's folder for intermediate data:
Build
DerivedData
# temp nibs and swap files
*~.nib
*.swp
# Xcode's user settings
*.mode1v3
*.mode2v3
*.pbxuser
*.perspectivev3
xcuserdata
The *last* line here tells git to ignore your user specific settings in Xcode. You may want to search for more *ignorable* files, by just googling "gitignore Xcode"
Whether Xcode should provide and check for a reasonable default for gitignore or not is debatable.
Regards
Andreas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden