Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
当我第一次推git时,git推不起作用_Git - Fatal编程技术网

当我第一次推git时,git推不起作用

当我第一次推git时,git推不起作用,git,Git,git first push不起作用,whitch指出错误是: "Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists." 我该怎么办?我想这会有帮助的 您的ssh密钥未经授权:-权限被拒绝公钥 如何执行此操作单击此处:- 嗯..确保您拥有

git first push不起作用,whitch指出错误是:

"Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists."
我该怎么办?

我想这会有帮助的

您的ssh密钥未经授权:-权限被拒绝公钥

如何执行此操作单击此处:-


嗯..确保您拥有正确的访问权限并且存储库存在。您尝试了什么来验证您拥有正确的访问权限并且存储库存在?将您的ssh密钥添加到settingsgithub或bitbucket vs settings。我必须将ssh添加到git,但是,通过我在Internet上的搜索相关问题,我可能是ssh,但是具体的问题是什么,我不会找到..您是否生成了ssh密钥并添加了设置?如果您的ssh密钥未经授权,则不允许您拉入和推入repo。