Xcode is showing multiple working copies:
Working Copies
myProject - master
myProject_olderRepo
myProject_originalRepo
The second two are greyed out.
The original code was cloned in Sourcetree from the repo of a previous owner. Not knowing how to move the files into a new repo, I simply copied locally the entire project directory, and started work on them.
Then I copied the contents of that reworked project directory into a folder linked to a repo to which others have access. When they clone the repo they get compile errors because modules (the two older repos) are missing.
I have almost no experience of source control and Bitbucket et al, so I humbly ask forgiveness for anything completely stupid that I am doing.
How do I remove those older working copies from Xcode's source control? Or is there some other way that others can then clone and compile the project without errors?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…