Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

error: src refspec main does not match any

"main" is the usual branch name in Github repos. In some repos, it can be master or some other name
use the following command at that time
git push origin master 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #src #refspec #main #match
ADD COMMENT
Topic
Name
7+4 =