git和github连接时一直连接不上,求问怎么连接上??
lenovo@LAPTOP-814]8U9I MINGW64/d/随便(master)
S git config --global http.sslverify false
lenovo@LAPTOP-814]8U9IMINGW64/d/随便
(master)
Sgit remote add origin https://github.com/xiashuyuan123/xia2.git
Tenovo@LAPTOP-814]8U9IMINGW64/d/随便(master)
Sgit push -u origin main
error: src refspec main does not match any
error: failed to push some refs to 'https://github.com/xiashuyuan123/xia2.g
it
Tenovo@LAPTOP-814]8U9工MINGW64/d/随便(master)
$ git push -u origin master
Enumerating objects:3,done.
done
Counting objects:100%(3/3),
1220.00KiB/s,done.
Writing objects:100%(3/3),220bytes
(delta O),reused 0 Cdelta 0,
pack-reused 0
Total 3
To
https://github.com/xiashuyuan123/xia2.git
master Lnewbranch] 一>master
origin/master
branch master set up to track
lenovo@LAPTOP-814]8U9IMINGW64/d/随便(master)
$git push -u origin master
第山L