Newb here, sorry.
I’m developing an iPhone app in XCode and it uses git for version control. I updated to the newest ‘realm’ library in the XCode project, and suddenly I found that all the realm files were under version control, when previously they weren’t.
I want to simply remove them from version control, but not delete them.
This seemed like the correct command, and it looks good when I use -n, but I wanted to make sure.
git rm -r 'realm*'
Will this delete the actual files too? I don’t want that. Thank you!
UPDATE:
Actually, git rm -r ‘Realm*’ (capital R) shows me I have edited Realm files (not my files), declining to remove them. This suggests it was under VC before. But the question remains, how to do I remove these files from VC, regardless of outstanding changes.