添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement . We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Describe the bug
In the home page at git-lfs , the last command in the documentation doesn't work by using master, it is throwing error error: src refspec master does not match any , rather it is working if main is used as the last word

To Reproduce
use $ git push origin main instead of $ git push origin master

Expected behavior
push my local commit to my remote GitHub repo

System environment
Windows version 10.0.18363 Build 18363

Output of git lfs env
$ git push origin master
error: src refspec master does not match any
error: failed to push some refs to 'url of my repo on GitHub'

Additional context
Any other relevant context about the problem here.