history - git mv records move? -
when invoking git mv file1 file2
record move internally (for history tracking in log) or same invoking mv file1 file2
, git rm file1
, git add file2
?
git mv
same 3 operations listed. although git not explicitly record move in repository, move detected later whenever ask history. example, adding --follow
switch git log
automatically finds files have been renamed.
Comments
Post a Comment