Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

BitBucket git authentication problems after changing project name

John Roach February 9, 2013

Hi, I just changed my project name in BitBucket. Now my git doesn't work.

When I do the;

john@johnslinuxlaptop:~/workspace/RenkoERP$ git push
Permission denied (publickey).
fatal: The remote end hung up unexpectedly

When I do the;

john@johnslinuxlaptop:~/workspace/RenkoERP$ ssh -T hg@bitbucket.org
conq: logged in as johnroach.

You can use git or hg to connect to Bitbucket. Shell access is disabled.

What might be the problem?

1 answer

0 votes
Stefan Saasen
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 10, 2013

Hey John,

Did you apply the name change to your local git repositroy?

What does `git remote -v` return? Does it contain the old URL for your git repository?

In that case you need to update the URL using:

git remote set-url origin URL

HTH.

Cheers,

Stefan

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events