ITeye博客

git 知识点

feikiss · 2015-10-23 14:28 · 开源软件 · Markdown

  1. 使用git server 最新版覆盖本地的修改:

git fetch --all git reset --hard origin/master

OR If you are on some other branch git reset --hard origin/your_branch

http://stackoverflow.com/questions/1125968/force-git-to-overwrite-local-files-on-pull

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。