git远程仓库推送错误
报错 如下:
$ git push -u origin dev
error: src refspec dev does not match any.
error: failed to push some refs to 'git@github.com:maikchen/vueXM.git'
先查看当前分支(master or dev)是否正确
解决办法:
git add .
git commit -m ' error Message'
$ git push -u origin dev 远程推送
git 错误 2
fatal: Not a git repository (or any of the parent directories): .git
次错误说明 当前文件下缺少git 文件 ,或文件损坏
解决办法
git init