git命令行
git提交失敗的解決辦法
1 提交后提示
fatal: recursion detected in die handler
問題原因:
問題原因是http.postBuffer默認上限為1M所致。在git的配置里將http.postBuffer變量改大一些即可,比如將上限設為500M:
git config --global http.postBuffer 524288000
在哪里執行以上命令呢?
打開git bash命令行工具。
注意要加上--global。網上很多資料都沒加這個參數。不加執行的話會報以下錯誤的:
error:could not lock config file .git/config: no such file or directory.
使用TortoiseGit
右鍵TortoiseGit--settings--Git--Edit systemwide gitconfig--把postBuffer的值修改為524288000
git ssh失效解決辦法
報錯信息
git.exe clone --progress -v "https://git.duapp.com/appiddfged879rf" "F:\bae\yelp"
Cloning into 'F:\bae\yelp'...
fatal: unable to access 'https://git.duapp.com/appiddfged879rf/': SSL certificate problem: unable to get local issuer certificate
最簡單的解決方法是執行下面的命令,然后重新執行 git clone 命令:
git config --global http.sslVerify false
