Git rebase after merge confused about deleted file
问题 My Git repository has two files, alpha and beta , with identical content. If I delete alpha in my master branch, and edit it in my feature branch, then when I merge master into feature, I'm warned about a conflict. Assume I resolve this by deleting alpha . If I then rebase my feature branch onto master using git rebase master , alpha is deleted, but the changes I made to alpha on the feature branch are now applied to beta ! I get a conflict warning but it's happily resolved with an auto-merge