Can't push repository to bitbucket

Issue #10801 resolved
Thomas Riant
created an issue

Hello,

When I try to push my repo given the site's instructions,

cd /path/to/my/repo git remote add origin git@bitbucket.org:triant/hello_app.git git push -u origin --all # pushes up the repo and its refs for the first time

it gives me this message:

triant@rails-tutorial:~/workspace/hello_app (master) $ git push -u origin all conq: repository does not exist. fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

I don't know what it could be

Comments (10)

  1. Anonymous

    I have similiar issue that I not able to resolve, appreciate any help to push my Cloud 9 repo up to Bitbucket. hzachrich@rails-tutorial:~/workspace/hello_app (master) $ git push -u origin --all # pushes up the repo and all its refs for the first time fatal: Could not read from remote repository.

    Please make sure you have the correct access rights and the repository exists.

  2. Sajeed Bakht

    The Solution is to go into cloud9, on your accounts homepage, then click repositories, create a repository,then follow all the steps on the bitbucket, in your shell.

  3. William Lynes

    I ran cat .git/config to review the git configuration for my rails app. Embarrassingly enough, the remote origin url was incorrect. I forgot to replace "app_name.git" (which was either a placeholder from the Rails Tutorial or from my notes on the book) with the actual name of my app. I used the nano text editor to update the app name and I'm back in business.

  4. Christos

    I had the same issue and it was indeed an issue of the origin's URL. The repository was a private one but the URL was pointing to my team's repositories instead.

  5. Log in to comment