I am using Xcode 4.5 and Git for version control. I created a new branch and added some code to it. When I go to Organizer/My Repository and click on switch branch, I can’t switch to a branch because I get the following error message :
Working copy is modified
Figured it out. I had to remove the xcuserstate and added it to my .gitignore