Git renames

time to read 1 min | 160 words

One of the things that I like about Git is that I don’t have to think about operations that I make in my source. For example, I am working on the refactoring from NH Prof to ÜberProf, and I wanted to change the directories & project files. So I just went to explorer and renamed them.

Then I had to fix some namespaces references in the project file. It looks like this:

image

Notice that it capture both the rename and the content change?

You can also see how it looks in the log file:

image

Trying to do stuff like that with SVN is just PITA, with Git, I didn’t have to think about it.