github - git push 上传失败怎么解决?
大家讲道理
大家讲道理 2017-05-02 09:43:55
0
3
692

今天第一次使用git往github远程仓库上传东西,照着书上的命令输完后却出错了,

我的git远程仓库情况:

求给出给力解决方案。

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(3)
为情所困

The prompt is a publickey permission issue. No permission to submit. Configure the key.
In addition, if you are operating on a local computer, it is best to use GitHub Desktop, which is much more convenient. I use this every day.

淡淡烟草味

Generate a key pair and add the public key to your GitHub account.

https://help.github.com/artic...

我想大声告诉你

Your project address shows git@git, which proves that you are using SSH (locally you need git bush to generate the ssh public key), two methods;
First: generate the ssh public key Find the SSH option in the github settings and add it;
Second: Modify the URL of the config file in the .git file (hidden file) to the https address. You need to enter the username and password for the first submission. Remember the username and password. No need to enter anymore;

The above premise is for reference only if you have permission to operate the git project;

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!