With git, I want to replace all the files, except some specific ones, in branch A with the same files from branch B.
I don't want to merge because I don't want branch A to have the history of these specific files from B.
I have lost several hours and made many tests and didn't find the answer. Can you help me?