将本地仓库代码回滚到commitId位置,并从远程拉取最新代码
    git reset —hard commitId && git pull

    回滚到远程master最新的commit位置
    git reset —herd orgin/master && git pull