22 lines
611 B
Batchfile
22 lines
611 B
Batchfile
git config --global user.name "HuangHai"
|
||
git config --global user.email "10402852@qq.com"
|
||
|
||
:: 删除旧凭据(注意保持协议一致)
|
||
cmdkey /delete:git:http://www.yelite.cn:27825
|
||
|
||
:: 添加正确格式的HTTP协议凭据(注意不要带路径)
|
||
cmdkey /generic:git:http://www.yelite.cn:27825 /user:huanghai /pass:mdcija780522
|
||
|
||
:: 设置凭据存储(保持原有配置)
|
||
git config --global credential.helper manager
|
||
|
||
git config --global core.autocrlf false
|
||
git config --global http.sslVerify true
|
||
|
||
git add -A .
|
||
git commit -am 'commit'
|
||
git pull --no-edit
|
||
git push origin main
|
||
|
||
|