git强推命令

git reset --hard +版本的名称重置当前的代码
git push -f origin master强制将本地的代码推送到远端

posted @ 2021-05-17 10:53    阅读(2547)  评论(0)    收藏  举报