git push发现本地 代码没有更新到最新版本,但是已经commit怎么办?

git reset --hard
git pull --rebase

  

原文地址:https://www.cnblogs.com/yuanqiangfei/p/15252939.html