关闭

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

标签: ios版本管理gitsourceTree
7570人阅读 评论(0) 收藏 举报
分类:

参考: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.


1
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:175479次
    • 积分:2197
    • 等级:
    • 排名:第17226名
    • 原创:40篇
    • 转载:122篇
    • 译文:0篇
    • 评论:22条
    最新评论