Re:Why Git is Better Than X
by nostrademons on Monday December 01, 2008 @05:50PM
(#382261)
'git mv' for moving files, and I'm overly dependent upon 'git status' for checking what's changed.
[ Parent
| on HN ]
Agreed on both points, although 'git mv' is optional. As long as the old file is 'git rm'ed and the new file is 'git add'ed in the same commit, git detects the rename quite reliably.
mv is just sugar, though, you can easily copy the file using unix "cp" and delete/add to get the same result. Git does not track renames.