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 ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I am not an expert with
XCodeprojects; 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 thisgit 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-aswitch. Adding the folder to.gitignorefile (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.xcodeprojThen, add the folder to
.gitignorefile as explained above.You can probably fine some usefull information in Git ignore file for Xcode projects
Hope I helped.