0

as I told in title.
I'm working in branch. and some files have to rename like example.txt to new_example.txt. before that, I use to git mv cli often rename files.
but this time when i check file changed in github, example.txt is deleted and new_example.txt is created.

in this situation, I think new_example.txt hasn't file history and de facto that's true what i thought. it means file is rewrite!!

how can i prevent rewrite and keep file change history with new filename??

Thank you

I try to fix this. use filter-branch and copy file and add but nothing solved

0 Answers0