error: src refspec master does not match any when pushing commits in Git
According to the question you’ve created a repository and created files in the index but you didn’t stage the file and getting error src refspec master does not match any. For that use: git add Or git add . //for adding all files Then commit the files using: git commit -m”initial commit” Then your files will be saved…
Answered Jul 15, 2021 · 4.2K Views Read answer →