Hello

Sorry this is maybe not the debian question...

I have changed my github username today, after that I run this command in
local machine to update the remote url:

git remote set-url origin new.git.url/here

And I even run these two in local repo:

  git config --global user.email "n...@mail.com"
  git config --global user.name "new-username"

After doing those when I run git pull it always gets:

$ git pull
Permission denied (publickey).
fatal: Could not read from remote repository.

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

But, ssh -T g...@github.com works and it shows me the new user space.
Can you tell me how to fix this?

Thanks a lot.

Reply via email to