You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
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.