是否可以在Git中移动/重命名文件并维护它们的历史记录?我想重命名/移动Git中的一个项目子树,将它从/project/xyz到/components/xyz如果我用平原git mv project components的所有提交历史记录。xyz project迷路了。有没有办法让历史得以延续?
3 回答
拉风的咖菲猫
TA贡献1995条经验 获得超2个赞
没有。
git log --follow--find-copies-hardergit mv.
--followmvcommitmv
--follow.git log --followgit log
- 3 回答
- 0 关注
- 1167 浏览
添加回答
举报
0/150
提交
取消
