Git error: src refspec refs/heads/master does not match any

0 votes
652 views
added Jul 11, 2019 in Git by LC Marshal Captain (25,770 points)

This is normally occurred for a kickoff stage right after you clone the remote repository to your local. Simply fix it by add and commit your change before push.

git add .
git commit -m "kickoff files for project"
git push

 

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...