checkout: Please move or remove them before you can switch branches. Aborting could not detach HEA

参考:https://stackoverflow.com/questions/7630693/git-warning-of-file-overwriting-due-to-supposedly-untracked-files/7630711#7630711

git sourceTree拉取遇到的问题

checkout: Please move or remove them before you can switch branches. Aborting could not detach HEAD


解决方法:

down voteaccepted

They're tracked in the version you're checking out, but not in the version you had checked out previously. If you don't care about the untracked versions, just remove them.

If you do care about them, commit them before doing the rebase. You may then have to merge as part of the rebase process.


阅读更多
版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/YLGWHYH/article/details/50393871
个人分类: 版本管理
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

不良信息举报

checkout: Please move or remove them before you can switch branches. Aborting could not detach HEA

最多只允许输入30个字

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭