跳至主要內容

问题汇总

晨光-向小于 1 分钟代码管理Git代码管理

问题汇总

1. 上传问题

git提交或克隆报错fatal: unable to access ‘https://github.com/tata20191003/autowrite.git/‘:open in new window Failed to connec

fatal: unable to access 'https://github.com/xxx/autowrite.git/': 
OpenSSL SSL_read: Connection was reset, errno 10054

fatal: unable to access 'https://github.com/xxx/autowrite.git/':
Failed to connect to github.com port 443: Timed out
git config --global http.sslVerify "false"

git提交出现 The file will have its original line endings in your working directory

git add 时候出现 The file will have its original line endings in your working directory

解决方案1open in new window
解决方案2open in new window

git rm -r --cached .
git config core.autocrlf false
git add .
git commit -m ''
 
git push