A friend and I are working seperately on a project. At first, I pushed a folder named old-name
and he pulled from it. In the middle of it, I decided to rename the old-name
folder to new-name
to better distinguish it from other projects (let's just say old-name
is too generic and new-name
is more specific). So I told my friend to rename his project folder to new-name
too. And then we're working seperately.
Now, he's pushed what he's done to the remote server (under new-name
folder), when I try to pull from the server, all these conflicts (rename/add) occur and apparently there's one extra copy of every single file in the new-name
project now.
new-name/index.php (MINE)
new-name/index.php~98789491981agsagasga98a914a98wt (his commit ID I believe)
My question is, how can we solve this without this git conflict renaming issue? Of course I can resolve the conflict manually, but there's just too many files to check and delete because of this new extra copy that git has pulled to my repo.
Thanks