github - How to solve git push upload failure?
大家讲道理
大家讲道理 2017-05-02 09:43:55
0
3
737

Today I used git to upload something to the github remote repository for the first time. After entering the commands according to the book, an error occurred.

My git remote warehouse situation:

Please give me a good solution.

大家讲道理
大家讲道理

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

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