'commit'
This commit is contained in:
21
一键更新.cmd
Normal file
21
一键更新.cmd
Normal file
@@ -0,0 +1,21 @@
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user