Answers for "git failed to push some refs main does not match any"

0

error: src refspec main does not match any error: failed to push some refs to

mkdir repo && cd repo
git remote add origin /path/to/origin.git
git add .

git commit -m "initial commit"
git push origin master
Posted by: Guest on August-07-2021
0

error: src refspec main does not match any error: failed to push some refs to

Check master vs main
Posted by: Guest on January-21-2021

Code answers related to "git failed to push some refs main does not match any"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language