标签:hub from toc git add 错误 core pos git 输入
1.输入 $ git push -u origin master 命令出现下面错误
$ git push -u origin master
fatal: 'origin' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the reposito
解决办法
$ git remote add origin?git@github.com:github帐号名/项目名.git
2.输入 $ git add . 出现下面错误
warning: LF will be replaced by CRLF in vue.js.
The file will have its original line endings in your working directory.
解决办法
$ git config --global core.autocrlf false
标签:hub from toc git add 错误 core pos git 输入
原文地址:https://www.cnblogs.com/cleanwaterjx/p/10929252.html