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


i have been working on xcode project (that installed via adhoc installation, internal use @ company) few years , had enabled source control since day 1. working until when ios 8 released, decided convert ios 8 while leaving backup on project is. so, renamed original folder bimpd_old , started modifying new project. beginner in git, , didn't know doing might corrupt source control. after doing (and while still working on both projects) source control won't commit anymore complaing project not under version control.

i tried many solutions on internet suggest deleting .svn/.git folders, disabling , reenabling source control, run git init, add *, commit.. tried deleting bimpd.xccheckout edit: tried solution from: how disassociate working copy of xcode 5 project svn server died no success. solution works xcode5 while issue in xcode 6.3

i want lose version history, detach/delete working copies, , start new version control starting today.

how can achieve that?

notes:

  • at first, xcode gave me warning svn needs updated.. did still wouldn't commit
  • i don't need online git (just local)
  • i stopped working on old project.. , don't need anymore.
  • after tests , trials, shows 3 working copies in source control (when enable it) , want 1 working copy (screenshot below)

working copies

  • at earlier stages, when trying commit, xcode giving me warning it's unable commit www.mydomain.com/bimpd (a custom svn friend had made on site long time ago) can't find reference anywhere.. (because have deleted repositories)
  • now when try commit, following error: working copy "bimpd.xcodeproject" failed commit files (screenshot below)

commit error

check out this answer

just navigate "your project".xcodeproj > (right click & show package contents) > project.xcworkspace > (right click & show package contents) > xcshareddata > "your project".xccheckout

right click on file , select open with, , click on "more..". use preferred text editor edit xml inside, or can use trusty textedit.

your old git/svn servers @ bottom, encased in . remove em , reload project in xcode.


Comments

Popular posts from this blog

c++ - No viable overloaded operator for references a map -

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - Cannot secure connection using TLS -