What is the Apple way of telling Xcode to ignore the project.pbxproj file?
i am working with some one else and we have different credentials. I can see the differences by diffing the project.pbxproj file.
Pushing this file to github will cause problems, obviously. In my unix days I would create a .gitignore file. My partner is a Mac dyed in the wool type, who would rather not use the command line. Is there a option for doing this in Xcode?
i am working with some one else and we have different credentials. I can see the differences by diffing the project.pbxproj file.
Pushing this file to github will cause problems, obviously. In my unix days I would create a .gitignore file. My partner is a Mac dyed in the wool type, who would rather not use the command line. Is there a option for doing this in Xcode?
In Xcode's Source Control preferences, click the Git button. There is an Ignored Files list where you can add files to ignore.
One thing to keep in mind is if git is tracking a file before you add files to ignore, git will keep tracking the file. You will have to temporarily move the file out of the .git folder (This basically involves moving the file out of the project folder), commit to git, then move the file back.
One thing to keep in mind is if git is tracking a file before you add files to ignore, git will keep tracking the file. You will have to temporarily move the file out of the .git folder (This basically involves moving the file out of the project folder), commit to git, then move the file back.