Skip to content

Git

撤回 github 提交

shell
git reset --hard <回退到的 commit ID>
git push --force origin main

设置代理

shell
// 设置
git config --global http.proxy http://127.0.0.1:7890
// 取消
git config --global --unset http.proxy