强制刷新分支
一般用于centos系统内,出现版本不一致的情况
git fetch --all
git reset --hard origin/dev
git pull
另外设置git使用的proxy
git config --global http.proxy 'socks5://127.0.0.1:1080'
git config --global https.proxy 'socks5://127.0.0.1:1080'
一般用于centos系统内,出现版本不一致的情况
git fetch --all
git reset --hard origin/dev
git pull
另外设置git使用的proxy
git config --global http.proxy 'socks5://127.0.0.1:1080'
git config --global https.proxy 'socks5://127.0.0.1:1080'