I have a master branch and a working branch_1. I want to 'move' branch_1 exactly as it is to master. So I want something like this:
git checkout master git merge branch_1 # I don't know what is correct... Things which I did but I got loads of files messed up with annoying conflicts. So now master contains exactly the same files of branch_1 avoiding any conflicts, just overwriting files. Any help?
git reset --hard branch_1, but that loose all history inmasterthat is not shared withbranch_1.branch_1tomaster? Do you just want to do a simple merge? Getting conflicts is not unusual in a merge, so there's nothing special about it. As the question is currently written, it is not clear what the problem is.