by rendall · 2y ago · 0 comments
If you rename the file using git and that is the only change in your file, then it works:
git mv oldfile newfile
Commit that change and the rename is in your history.the tooling infers a rename based on the lack of a content change
Does nothing. Git won't remember you did it.
> and that is the only change in your file
This always works, but it means you need to choose between flaky rename detection and weird extra rename-only commits that probably don't compile.