1.??安裝git for windows-3.20版本,報錯Could not find git; can not register Git LFS。
錯誤原因:可能這個版本有問題。參考:Could not find Git; can not register Git LFS. · Discussion #5031 · git-lfs/git-lfs · GitHub
解決方式:安裝Git for Windows 2.36.1
2.?報錯fatal: unable to access ‘https://github.com/.......‘: OpenSSL SSL_read: Connection was reset,?
解決方式:解除ssl驗證后,再次git即可
git config --global http.sslVerify "false"
3. git clone 速度慢怎么辦?
問題:github.com.cnpmjs.org鏡像網(wǎng)站用不了,會出現(xiàn)錯誤:fatal: unable to access 'https://github.com.cnpmjs.org/...': Could not resolve host: github.com.cnpmjs.org
解決方案:控制臺輸入:git config --global url."https://hub.fastgit.xyz/".insteadOf https://github.com/文章來源:http://www.zghlxwxcb.cn/news/detail-405423.html
然后再git clone。文章來源地址http://www.zghlxwxcb.cn/news/detail-405423.html
到了這里,關(guān)于git-lfs安裝及clone常見問題的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!