Xcode/git not working with subfolders
I have git set up with my Xcode project. I’m trying to add a subfolder (e.g. My Project Dir/Resources) and track changes. However, after I drag the subfolder into Xcode, it’s not being change tracked. Why?
One Solution collect form web for “Xcode/git not working with subfolders”
Drag the folder to Xcode. Make sure it is either in the right place or that you also copy it.
Select the files in the project browser and choose “File->Source Control->Add”. Alternatively, hit altcmdA.
Alternatively, go to your directory in Terminal and type
git add NewFolder