git fetch --all git reset --hard origin/master 转载于:https://www.cnblogs.com/lonelyGentleman/p/6782778.html