I was wondering how can I merge (or other action like cherry pick, rebase, ...) automatically (without manual resolving) two commits with a rename of a same file. More precisely, I've two commits which do:
- A.txt -> B.txt
- A.txt -> folder/A.txt
And I want automatically:
- A.txt -> folder/B.txt
Is it possible?
I searched solutions but I didn't find automatic ones. I tried merge, rebase, cherry pick. I tried arguments of merge strategies but it didn't work also.