I built a remote library on github
and then wanted to merge the local code into the remote library, but it reported the following error
I created an empty one on github during the previous test Kuran Afterwards, it can be pushed locally.
Why does it keep reporting the following error when creating a library on github?
What methods are also used onlinegit pull
etc. are useless
This What's going on?
Look at the last two lines of the warning message and put
git://
换成https://
You are currently using SSH, and the warehouse address should be
git@github.com:Missyanwen/2017KK.git
如果要用https,仓库地址应该是
https://github.com/Missyanwen/2017KK.git
The error message is very clear, but you successfully mixed these two addresses into one:p
You made a mistake with the URL of the warehouse. You can change the URL of the remote warehouse to https://github.com/Missyanwen...
By the way, there are three main protocols used by git: https, git, and ssh. The first two are more commonly used, as mentioned on the second floor:
It is recommended that novices use https protocol.
You can directly copy the address of the remote warehouse as its url.