Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
GitHub相关资源
git fetch --all
git reset --hard origin/master

git fetch 只是下载远程的库的内容,不做任何的合并 git reset 把HEAD指向刚刚下载的最新的版本

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment