Git, how to move a file from one folder to another along with your history?

0

I'm moving a file from one folder to another with git mv but the file is not coming with the history, how do I resolve it?

    
asked by anonymous 08.02.2018 / 11:28

1 answer

2

The file does not lose the history when we move it from one directory to another within the same repository, using git log you will see its history according to the current directory, strong> git log --follow you will see the full history.

    
08.02.2018 / 11:56