Error: src refspec master does not match any error: failed to push some refs to android studio

In this article let’s discuss about Error: src refspec master does not match any error: failed to push some refs to android studio. Let’s go through the following methods without any delay.

Method 1:

git commit -m "initial commit"
git push origin master

If you are facing any issues with the above approach then try the alternative that is given below. It may look similar by have a try!

Method 2 :

git config --global user.email "you@example.com"

git config --global user.name "Your Name"

Hope the above solution works.

Realted Posts : Awk variable