Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

error: src refspec master does not match any

# find the right branch: master or main
# newer git repos start with main
git push origin main
# to switch head branch:
git branch -M main
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #src #refspec #master #match
ADD COMMENT
Topic
Name
1+1 =