git 常用命令

git强制覆盖:
    git fetch --all
    git reset --hard origin/master
    git pull
git强制覆盖本地命令(单条执行):
    git fetch --all && git reset --hard origin/master && git pull

原文地址:https://www.cnblogs.com/adolfmc/p/11593858.html