在特定项目中,我无法执行git push
命令,然而,在其他项目中一切都很顺利,我不知道还能做些什么。我有一把密钥,这把密钥已在 GitHub 上注册,并且代理似乎在工作。
当我尝试git push
时,结果如下:
username@lenovo-ideapad-s145:~/development/projects/Learning-Laravel$ git push
sign_and_send_pubkey: signing failed for ED25519 "/home/username/.ssh/id_ed25519" from agent: agent refused operation
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
我已经阅读了文档,但它并没有对我有太大帮助。