Issue #9338 resolved

Can't connect can't change remote repo name

James Jordan
created an issue

See output below:

Thanks for your help:

james:evolve jamesjordan$ git push -u origin master ssh: connect to host bitbucket.org port 22: Connection refused fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. james:evolve jamesjordan$ git remote origin james:evolve jamesjordan$ git remote set-url origin ssh://git@bitbucket.org:jamesjordan/evolve-fb4.6.git james:evolve jamesjordan$ git push ssh: Could not resolve hostname bitbucket.org:jamesjordan: nodename nor servname provided, or not known fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. james:evolve jamesjordan$ git commit -m "asdf"

On branch master

nothing to commit, working directory clean james:evolve jamesjordan$ git add -A james:evolve jamesjordan$ git push ssh: Could not resolve hostname bitbucket.org:jamesjordan: nodename nor servname provided, or not known fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. james:evolve jamesjordan$

Comments (3)

  1. Michael Frauenholtz staff

    Hi James,

    It looks like the URL you're trying to set for your remote might be incorrect.

    Try using this:

    git remote set-url origin git@bitbucket.org:jamesjordan/evolve-fb4.6.git
    

    Let me know if that works for you.

    Cheers,
    Michael

  2. Log in to comment