git fetch --all && git reset --hard origin/master && git pull
参考文献:
https://blog.csdn.net/sinat_36184075/article/details/80115000