摘要:今天写好一个demo往GitHub上传时报错 错误提示: error: src refspec master does not match any. error: failed to push some refs to 找了下原因,原来是git commit -m "xxx" 时没留意,因为新装的g
阅读全文
摘要:我用git add file添加文件时出现了这样错误: fatal: Not a git repository (or any of the parent directories): .git 提示说没有.git这样一个目录,解决办法如下: git init就可以了! 也就是说,在命令行敲入git
阅读全文