git fetch --all
git reset --hard origin/master
git fetch 只是下载远程的库的内容,不做任何的合并
git reset 把HEAD指向刚刚下载的最新的版本
http:///questions/1125968/force-git-to-overwrite-local-files-on-pull
git fetch --all git reset 把HEAD指向刚刚下载的最新的版本 http:///questions/1125968/force-git-to-overwrite-local-files-on-pull |
|