I have an Xcode project with a few commits, and now I would like to load it onto Bitbucket, without losing my commit history. What would be the best way to do this?
Asked
Active
Viewed 3,414 times
2 Answers
0
You could follow the Import Code into (BitBucket) repo, and select a Git repo on your local workstation.
The fact that this local repo is managed by XCode4 doesn't matter.
After the import, you can add your Bitbucket repo as a remote, with an https address, as mentioned in "Bitbucket + XCode 4.2 + Git" (even though the XCode GUI might not be enough, and some command lines might be needed).
-
Thank you, [Michael Davidovich](http://stackoverflow.com/users/2209092/michael-davidovich), for fixing the broken link. – VonC Apr 17 '13 at 05:14
0
Create a new repository, and push to it from Xcode like normal. It will preserve all of the commit history.