The working copy "xxx" has uncommitted changes.


    进到它说提示的目录中,使用git reset --hard命令

例如:
cd /Users/ling/Desktop/tt
git reset --hard


如果要切换分支:git checkout branchName(分支名字)

你可能感兴趣的:(The working copy "xxx" has uncommitted changes.)