Commit history deleted after file rename

I renamed my file from file.js to newFile.js with the command git mv file.js newFile.js. Now the commit history is not appearing in github. Is this how it should behave, or did I mess something up?

Read more here:

Content Attribution

This content was originally published by user16301593 at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: