Answers for "error: src refspec main does match any"

2

error: src refspec master does not match any.

git init
git add .
git commit -m "first commit"
git branch -M main
git remote add origin "_git repository link here_"
git push -u origin main
Posted by: Guest on August-25-2021
3

src refspec main does not match any

git init

git add .

git commit -m "YOUR FIRST MESSAGE HERE"

git branch -M main

git remote add origin _GIT_LINK_TO_PROJECT_HERE_

git push -u origin main
Posted by: Guest on December-13-2021

Code answers related to "error: src refspec main does match any"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language