L7 : git push origin main
. ERROR : "src refspec main does not match any"
#1467
sumit180301
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
git push origin main
didn't work for me.So I used
git push origin HEAD:main
, which worked for me.Source: stackoverflow
Beta Was this translation helpful? Give feedback.
All reactions