I am in the middle of my host rearranging the stage branch
git checkout stage git rebase master
At some point, I deleted two files and then changed the two files according to GIT.
warning: too many files, skipping inexact rename detection CONFLICT (delete/modify): test-recommendation-result.php deleted in HEAD and modified in [Bug] Fix test recommender. Version [Bug] Fix test recommender of test-recommendation-result.php left in tree. CONFLICT (delete/modify): test-recommendation.php deleted in HEAD and modified in [Bug] Fix test recommender. Version [Bug] Fix test recommender of test-recommendation.php left in tree. Failed to merge in the changes. Patch failed at 0015.
I want to say "Yes, git, go ahead and delete these files," so ....
git rm test-recommendation-result.php git rm test-recommendation.php git rebase --continue
Git says:
Applying [Bug] Fix test recommender No changes - did you forget to use 'git add', Stupid? When you have resolved this problem run "git rebase --continue". If you would prefer to skip this patch, instead run "git rebase --skip". To restore the original branch and stop rebasing run "git rebase --abort".
I say, "Don't call me stupid, and just do what I told you!"
Now we are in a confrontation. Who is right and how to fix it?
git git-rebase version-control rebase
Clutch Apr 01 2018-11-11T00: 00Z
source share