Link to home
Start Free TrialLog in
Avatar of Dany Balian
Dany BalianFlag for Lebanon

asked on

detach all working copies and reset all version history in Xcode 6.3

0
down vote
favorite
      

I have been working on an Xcode project (that is installed via adhoc installation, for internal use at my company) for a few years now and I had enabled source control since day 1. All was working perfectly until when iOS 8 was released, i decided to convert it into iOS 8 while leaving a backup on the project as it is. So, I renamed the original folder to bimpad_old and started modifying the new project. I am a beginner in git, and I didn't know that doing this might corrupt source control. After doing so (and while still working on both projects) my source control won't commit anymore complaing that the project is not under version control.

I tried many solutions on the internet that suggest deleting .svn/.git folders, disabling and reenabling source control, run git init, add *, commit.. I also tried deleting the bimPad.xccheckout

I just want to lose all version history, detach/delete all working copies, and start new version control starting today.

How can I achieve that?

Notes:

    -At first, Xcode gave me a warning that svn needs to be updated.. I did it but still it wouldn't commit
    -I don't need online git (just local)
    -I stopped working on the old project.. and I don't need it anymore.
    -After all my tests and trials, it currently shows 3 working copies in my source control (when I enable it) and I only want one working copy (screenshot1 below)
User generated image    -At earlier stages, when I was trying to commit, xcode was giving me a warning that it's unable to commit to www.mydomain.com/bimpad (a custom svn that a friend had made on his site a long time ago) but i can't find this reference anywhere.. (because i have deleted all repositories)
    -Now when I try to commit, i get the following error: the working copy "bimpad.xcodeproject" failed to commit files (screenshot2 below)
User generated image
ASKER CERTIFIED SOLUTION
Avatar of Dany Balian
Dany Balian
Flag of Lebanon image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial