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

3

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
7

error: src refspec master does not match any.

git config --global user.email "[email protected]"

git config --global user.name "Your Name"
Posted by: Guest on April-17-2020

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

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language