My goal is pretty simple to explain, but yet I could not find any way to do this. Let's say I have 3 branches. A, B and C
A -------.
\--------.----------- B
\
.-------------- C
I simply want to push the entire branch "C" to the branch "B".Let me explain: I don't want to keep any stuff that I did in B after I created C from it. I simply want B to have the exact same code which have the branch C.
How can I safely do that ?
There's more than 10 000 files of difference between the two of them so manually is not an option.
I tried several stuff including a git merge with "theirs" strategy but I still had a lot of conflict somehow.