26 lines
755 B
Batchfile
26 lines
755 B
Batchfile
|
|
:: 删除TangDou目录下所有的exe文件
|
|||
|
|
d:
|
|||
|
|
cd D:\python
|
|||
|
|
del /s /q TangDou\*.exe
|
|||
|
|
del /s /q CSP-J\*.exe
|
|||
|
|
del /s /q JiShuanKe\*.exe
|
|||
|
|
del /s /q GESP\*.exe
|
|||
|
|
|
|||
|
|
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
|
|||
|
|
git push origin main
|