mirror of
https://github.com/shufflewzc/faker3.git
synced 2025-07-03 02:23:18 +08:00
FIRST commit
This commit is contained in:
23
jd_gitfix.sh
Normal file
23
jd_gitfix.sh
Normal file
@ -0,0 +1,23 @@
|
||||
#!/usr/bin/env bash
|
||||
#依赖安装,运行一次就好
|
||||
#0 2 * * * jd_gitfix.sh
|
||||
#new Env('github拉库修复')
|
||||
#
|
||||
|
||||
# 设置 http.postBuffer
|
||||
echo "设置 github缓存配置.....\n"
|
||||
git config --global http.postBuffer 524288000
|
||||
|
||||
# 查看 http.postBuffer 配置
|
||||
echo "查看缓存配置 配置为:524288000 则成功\n"
|
||||
POST_BUFFER_VALUE=$(git config --global http.postBuffer)
|
||||
echo "http.postBuffer 的值是: $POST_BUFFER_VALUE"
|
||||
|
||||
# 设置 http.sslVerify
|
||||
echo "设置 github拉库SSL检验配置....\n"
|
||||
git config --global http.sslVerify "false"
|
||||
|
||||
# 查看 http.sslVerify 配置
|
||||
echo "查看 github拉库SSL检验配置 配置为false则成功\n"
|
||||
SSL_VERIFY_VALUE=$(git config --global http.sslVerify)
|
||||
echo "http.sslVerify 的值是: $SSL_VERIFY_VALUE"
|
Reference in New Issue
Block a user