git fetch --all git reset --hard origin/master git fetch 只是下載遠(yuǎn)程的庫的內(nèi)容,不做任何的合并 git reset 把HEAD指向剛剛下載的最新的版本