错误:合并将覆盖以下未跟踪的工作树文件

时间:2014-08-01 12:06:11

标签: git merge overwrite

我删除了bin / class文件夹中的所有内容并提交了,然后当我尝试从master分支中提取时,git给了我一个错误,列出了来自master分支的bin / class中的所有文件:

error: The following untracked working tree files would be overwritten by merge: 
    bin/aaa.apk
    bin/classes.dex
    bin/res/crunch/drawable-hdpi/ic_launcher.png
    bin/res/crunch/drawable-mdpi/ic_launcher.png
    bin/res/crunch/drawable-xhdpi/ic_launcher.png
    ...
    ...
Please move or remove them before you can merge.
Aborting

我认为这是因为我删除了所有的bin文件而“git pull origin master”命令会因我的提交而崩溃?! 我该如何处理这种情况?我不想与bin文件合并..或者如果不可能,我可以再合并并删除bin文件。

提前感谢您的帮助!

0 个答案:

没有答案