简体   繁体   English

为什么我不能推送到git origin master?

[英]Why can't i push to git origin master?

I tried pushing to the origin master some code and got a weird problem, can anybody help please? 我尝试向原始主机推送一些代码,但遇到了一个奇怪的问题,有人可以帮忙吗?

Here is the git bash: 这是git bash: 这是git bash

The code can be found in here . 可以在这里找到代码。

Did you try testing your SSH connection as outlined in GitHub's documentation ? 您是否尝试按照GitHub文档中所述测试SSH连接? It appears your public key is not being accepted, which means you forgot to add your SSH key to the account, or you're attempting to use a different SSH key than the one you added. 您的公共密钥似乎没有被接受,这意味着您忘记了将SSH密钥添加到帐户中,或者您尝试使用与添加的SSH密钥不同的SSH密钥。

A "Permission denied" error means that the server rejected your connection. “权限被拒绝”错误表示服务器拒绝了您的连接。 There could be several reasons why, and the most common examples are explained in this post . 这可能有几个原因,最常见的例子是在解释这个职位

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM