Skip to content

Comment on Happiness is a freshly organized codebaseparent

Comments

Has behavior for `git mv` changed? Last time I investigated, the command was convenience to `git add` after a `mv` with a single command. Git doesn't actually explicitly track renames, it leverages some sort of auto-detection based on file content similarity.

Still good to use the command, just keep in mind git isn't really treating it any different than a normal `mv` followed by `git add`.

https://git.wiki.kernel.org/index.php/GitFaq#Why_does_Git_no...

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.