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?
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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.