repo sync中遇到:contains uncommitted changes

很简单,进入提示的目录,用git status看下,能看到所谓的uncommitted changes,然后用:

git checkout -- <file>

revert chagne就OK了。也可以用git reset --hard HEAD^1

posted @ 2012-04-10 10:27  super119  阅读(3773)  评论(0编辑  收藏  举报