When I do git status, I get this result:
# On branch master
# Your branch is ahead of 'origin/master' by 1 commit.
# (use "git push" to publish your local commits)
#
# Changes not staged for commit:
# (use "git add/rm <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: OnlineMarketing/OnlineMarketing-Info.plist
# deleted: OnlineMarketing/icon-100.png
# deleted: OnlineMarketing/icon-1024.png
# deleted: OnlineMarketing/icon-144.png
# deleted: OnlineMarketing/icon-152.png
#
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# OnlineMarketing.xcodeproj/project.xcworkspace/xcshareddata/
# OnlineMarketing.xcodeproj/project.xcworkspace/xcuserdata/alexgenadinik.xcuserdatad/
# OnlineMarketing.xcodeproj/xcuserdata/alexgenadinik.xcuserdatad/
# OnlineMarketing/.DS_Store
# OnlineMarketing/Default-568h@2x copy.png
My question is what I should do with these iOS untracked files from xcode? They seem to be project files. Should I commit them? Or should they remain local for me?
The reason I am trying to figure this out is that I tried to work with another branch and I got this error:
git checkout -b vidals-mods origin/vidals-mods
error: The following untracked working tree files would be overwritten by checkout:
OnlineMarketing.xcodeproj/project.xcworkspace/xcshareddata/OnlineMarketing.xccheckout
Please move or remove them before you can switch branches.
Thank you!