I am not doing changes to the submodule and it keeps making problems every time I am merging or committing.
Is there a way to ignore that ?
I am not doing changes to the submodule and it keeps making problems every time I am merging or committing.
Is there a way to ignore that ?
I am not an expert with XCode
projects; But to my understanding this folder holds important files (see here https://stackoverflow.com/a/6120152/1031900).
But if you know what you're doing, and you'd like to ignore changes to RestKit.xcodeproj
, do this
git update-index --assume-unchanged $(git ls-files RestKit.xcodeproj | tr '\n' ' ')
Better explained here
You could also just add the folder to .gitignore
, but when commiting don't use -a
switch. Adding the folder to .gitignore
file (in the base git folder, if it doesn't exist create it) is done with this line:
RestKit.xcodeproj/
If you'd like to completely stop tracking the folder, do this:
git rm -r RestKit.xcodeproj
Then, add the folder to .gitignore
file as explained above.
You can probably fine some usefull information in Git ignore file for Xcode projects
Hope I helped.