这个报错,可能因为 1.当前目录没有git init 2.你进错目录了, 我是第二种,进到C:\Users\tang,所以即便git init以后,git push的时候还会报错: error: src refspec master does not match any error: failed to push some refs to 'github.com:CodePpoi/spring-code.git
解决办法就是将terminal切换到你项目所在的正确目录
这个报错,可能因为 1.当前目录没有git init 2.你进错目录了, 我是第二种,进到C:\Users\tang,所以即便git init以后,git push的时候还会报错: error: src refspec master does not match any error: failed to push some refs to 'github.com:CodePpoi/spring-code.git
解决办法就是将terminal切换到你项目所在的正确目录