On Feb 11, 2016, at 7:17 PM, Quincey Morris < email@hidden> wrote: On Feb 11, 2016, at 13:01 , Alex Zavatone < email@hidden> wrote:
How, using Xcode's UI, do I add all of these files to the git repo? Is there any option?
Just to clarify, you should be able to add files in Xcode simply by selecting things in the navigator, and choosing Source Control -> Add nn Files from the right-click menu. The selection can be a mixture of groups and files, and the files can be a mixture of already-added and not-yet-added, and the “nn” count should tell you how many are eligible for adding.
If the difficulty is that an item in a collapsed group (or perhaps an item in a collapsed group inside a selected collapsed group) isn’t counted, you can option-click a top-level disclosure triangle to expand everything, then — basically — select all. It’s not pretty, but you only have to do it once.
Doing it in Terminal is probably easier, though.
Yeah, I haven’t tried opening the group, but any group that contains another group which then contains the files ends up giving a completely grayed popup for all items under Source Control when you right click on that folder.
Xcode 7.1.
Even though you’re probably right, that’s too imprecise since it’s too easy to miss an item.
FYI, I was copying the PJSIP containing folder from one project to another. There’s a lot to track down if I screw up, so that’s why I’m erring on caution.
Thanks.
Now back to the joy of getting header search paths right for this one. One down. 3ish to go..
|