Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8719215
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T06:44:24+00:00 2026-06-13T06:44:24+00:00

I have an existing project in XCode 4.5 which is not under any form

  • 0

I have an existing project in XCode 4.5 which is not under any form of source control. All I want to do is add it to a BitBucket repository so that I can work alongside another developer.

I’ve tried and tried to get this code under source control and onto a BitBucket repository, but I just can’t seem to nail it.

Could someone please talk me through it, step-by-step.

  • I’ve created a repository in BitBucket and it’s waiting for my code.

  • To create the repository localled, I ran git init, git add . and git commit -m 'Initial version' on the relevant directory.

  • BitBucket suggests that I run hg push to import an existing repository, but I get the following error:

    • abort: no repository found in ‘/Users/xxx/Documents/Dev/projectname’ (.hg not found)!

If I go into XCode, I have a repository showing in the Organizer. But it’s not connected with BitBucket at all.

All help very gratefully received. Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T06:44:25+00:00Added an answer on June 13, 2026 at 6:44 am

    You need to add your bitbucket repository as a remote to your local one. You can do this by running

    git remote add origin git@bitbucket.org:userName/repositoryName.git.

    You then need to push your local files to the remote repo by running

    git push origin master

    Note that this will push them to the master branch on the bitbucket repo.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an existing Xcode (4.3) project which will automatically always create a local
I have an existing project repo which I use for project A, and has
I have some problems importing an existing C++ project into my XCode. I already
I have an existing working iPhone project inside XCode 4.2. I localized an image
I'm working on an existing Xcode 3.2.2 Universal iPhone OS project which is already
I have a problem with an Xcode project which has a path of /users/me/blah
If I have a Command Line Tool project in Xcode, and just want to
I have an existing ViewController + xib in my project, and now I want
I have an existing project, so I need a solid way of cleaning/checking user
I have an existing project written in Ruby on Rails. It is sort of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.