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

Asked

Viewed 232 times

0

I’m moving a file from one folder to another with the git mv however the file is not coming with the history, how do I resolve this ?

1 answer

2


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

Browser other questions tagged

You are not signed in. Login or sign up in order to post.