Ashan@DESKTOP-5GNFI1I MINGW64 ~/Desktop/SpyGlass (master)
$ git push -u origin master
error: src refspec master does not match any.
error: failed to push some refs to 'https://github.com/ashan1995/spyglass.git'
我使用 Windows 10 中的 Gitbash 。 我该如何解决这个问题?
答案 0 :(得分:0)
你试过这个吗?
//Create a file.
touch README.md
git add README.md
git commit -m "initial commit"
git push origin master