I have a file in Git called 100_Test_Customer_Team_abc.txt
which has been pushed to the remote repository. I made a mistake in the name - the team is supposed to be in capital letters, so I want to rename it to 100_Test_Customer_Team_ABC.txt
.
I have used:
git mv 100_Test_Customer_Team_abc.txt 100_Test_Customer_Team_ABC.txt
But I get the following error:
fatal: destination exists
How can I rename it?