How do I solve this "chicken & the egg" situation?
I decided to rename a Java class in Eclipse (say, from one.java to two.java). Eclipse refactoring let me do that without a hitch.
Then, I went to git and typed:
git mv myproj/src/com/ate/lib/one.java myproj/src/com/ate/lib/two.java and received the error:
fatal: bad source, source=myproj/src/com/ate/lib/one.java, destination=myproj/src/com/ate/lib/two.java I understand why this is happening, but if I do git mv before refactoring, Eclipse will not like this...
What is a good approach to tackle this?