新建分支关联到远端分支
git checkout -b newbranch origin/develop
commit 之后车撤回
git reset --soft HEAD~
add 之后撤回
git reset HEAD
代理配置
全局设置
git config --global https.proxy http://127.0.0.1:1080
git config --global http.proxy http://127.0.0.1:1080
查看状态
git config --global http.proxy
git config --global https.proxy
取消设置
git config --unset --global http.proxy
git config --unset --global https.proxy
局部代理
set http_proxy=socks5://127.0.0.1:1080
set https_proxy=socks5://127.0.0.1:1080