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: Thu, 22 Mar 2012 12:18:23 +0100
On Mar 22, 2012, at 10:27 AM, G S wrote:
> Here's what I have in my .gitignore file, for just this problem:
>
> # Ignore invisible files, except this one.
> .*
> !/.gitignore
>
> [your project]/YourProject.xcodeproj/xcuserdata
> [your project]/YourProject.xcodeproj/*.mode1v3
> [your project]/YourProject.xcodeproj/*.pbxuser
> [your project]/YourProject.xcodeproj/*.perspectivev3
> [your project]/YourProject.xcodeproj/project.xcworkspace
>
Not including the workspace folder might be dangerous. If you switch branches, things might run out of sync and Xcode may even become confused and unable to open the workspace at all (happened to me, if you do that).
You only want to exclude the user settings within the workspace folder.
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