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 [email protected]: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
原文地址:https://www.cnblogs.com/cleanwaterjx/p/10929252.html
时间: 2024-10-31 01:40:25