I was giving push
and this error occurred:
error: src refspec master does not match any.
What causes it? Could someone help me?
I was giving push
and this error occurred:
error: src refspec master does not match any.
What causes it? Could someone help me?
Possible causes for this error:
push
to it. checkout
to branch before doing push
. push
. Remembering that in Git, it is not possible to do push
of empty directories, which can lead to the same error as well. git push
. To resolve, you can checkout
back to branch or git push origin HEAD:nome-branch