Xcode Source Control showing multiple Working Copies

后端 未结 12 1899
孤独总比滥情好
孤独总比滥情好 2020-11-28 09:17

Xcode is showing multiple working copies:

Working Copies
myProject - master
myProject_olderRepo
myProject_originalRepo

The second two are g

12条回答
  •  旧巷少年郎
    2020-11-28 10:09

    If you have Git repositories showing up, then you must have a *.xcscmblueprint file somewhere in your project. For me, it was in my workspace and not in a project. From terminal window:

    % find . -name '*.xcscmblueprint' ./TaskMe.xcworkspace/xcshareddata/TaskMe.xcscmblueprint

    Edit that file with care to keep just the entry you want. Or perhaps better, just delete the file and add back the repository you want.

提交回复
热议问题