Problems with git history when created header copyright


First!! A big sorry for my bad English!


I have to change my file header(settings -> editor -> File and code templates - File Header) to put copyright on the top of any new file!

But when a do that and add this new file to git and commit, something really strange happens!! When a I go to my file and do git show history , instead of see my first commit, I see long history for this new class as the class was renamed several times. And when I go to diff in my pull request on BitBucket , my new class is market as copied and show some diferences the does even exist!


It's only happens on Intellij and Only happens when a change the File Header!!


Please sign in to leave a comment.