I did not find much success in understanding what this means in other SO questions.
this is for a ruby on rails project. it's probably really straightforward if you know what to do. I tried merging two branches and this was (part) of the result.
CONFLICT (rename/delete): db/migrate/20160705073411_create_building_employees.rb deleted in HEAD and renamed in user-authentication. Version user-authentication of db/migrate/20160705073411_create_building_employees.rb left in tree.
Removing app/models/buildings_user.rb
Automatic merge failed; fix conflicts and then commit the result.
added by them: db/migrate/20160705073411_create_building_employees.rb
when I opened up the file i saw nothing to really resolve. there were no asterix running across the page.
Any advice would be much appreciated.
This conflict message means that some files were deleted in one branch and renamed in the other. You need to decide for each one if you want to remove the file or to keep it (with the new name).
The error "Conflict (rename/delete)" means that a file was renamed in one branch and deleted in another(create_building_employees.rb deleted in HEAD). This type of conflict is not with the content of the files themselves- but with the directory/tree of the branches. You should use Git Mergetools to do a diff between the branches and then make whatever modifications needed
Here is a great thread on resolving conflicts How to resolve merge conflicts in Git? And see the blogpost: http://weblog.masukomi.org/2008/07/12/handling-and-avoiding-conflicts-in-git/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With