Solution:
master-wei@DESKTOP-HDUPJ4Q MINGW64 /g/browser/blog/myblog (main)
$ git push origin master
error: src refspec master does not match any
error: failed to push some refs to 'https://github.com/w13411965905/myblog.git'
master-wei@DESKTOP-HDUPJ4Q MINGW64 /g/browser/blog/myblog (main)
$ git config --global --unset http.proxy
master-wei@DESKTOP-HDUPJ4Q MINGW64 /g/browser/blog/myblog (main)
$ git config --global --unset https.proxy
master-wei@DESKTOP-HDUPJ4Q MINGW64 /g/browser/blog/myblog (main)
$ git push origin main
Enumerating objects: 4, done.
Counting objects: 100% (4/4), done.
Delta compression using up to 4 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 35.82 MiB | 1.62 MiB/s, done.
Total 3 (delta 1), reused 0 (delta 0), pack-reused 0
reason:
The default main branch name of GitHub is main
Therefore, the push command should be git push origin main
Read More:
- error: src refspec master does not match any. [How to Solve]
- error: src refspec master does not match any [How to Solve]
- Git Push Error: error: failed to push some refs… hint: Updates were rejected because the remote…
- [Solved] Error: SRC refspec master doors not match any
- error: src refspec master does not match any [How to Solve]
- Git Push Error: failed to push some refs to ‘[email protected]:
- How to Solve Git Push Error: error: src refspec v3.3.04.1000 matches more than one
- [Solved] Git submits locally to the remote warehouse Error: failed to push some refs to…
- [Solved] error: failed to push some refs to ‘https://gitee.com/wangdxstudy/mygirl.git‘
- How to Solve Git Error: error: failed to push some refs to……
- Local repository upload to remote repository error: failed to push some refs to ‘https://hub.fastgit.org/zhizhangxuezhang/ui-test.git‘
- [Solved] Git push Warning: error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413
- [Solved] Git error: refname refs/heads/master not found
- [Solved] Git push error: error: RPC failed; HTTP 413 curl 22 the requested URL returned error: 413
- [Solved] Git Push Error: &fatal: the remote end hung up unexpectedly
- Git push Failed to connect to localhost port 1080 [How to Solve]
- [Solved] git Error: error: dst refspec v0.10.2 matches more than one
- [Solved] Git Push error: File: xxx 252.15 MB, exceeds 100.00 MB.
- Git Error: error RPC failed; curl 56 OpenSSL SSL_read SSL_ERROR_SYSCALL, errno 10054
- Git push error: error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)