Answers for "error: src refspec main does not match any error: failed to push some refs to '[email protected]:derricknaremakgoba/trademarkapi.git"

0

error: src refspec main does not match any error: failed to push some refs to 'https://github.com/hktitof/Guess_My_Number_JavaScriptVanilla.git'

You probably forgot to add your your changes to staging area.
So type :
git add .
then :
git commit -m "meesage"
finally :
git push origin branch_name
Posted by: Guest on April-17-2022
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

Code answers related to "error: src refspec main does not match any error: failed to push some refs to '[email protected]:derricknaremakgoba/trademarkapi.git"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language