Reputation: 6589
As per this question (Git: I want to refactor my codebase, and create new files structures and move things around. Will my git history be maintained?) I refactored my project, and moved all of my files using the "git mv" command. After committing my refactoring work, I look at my bitbucket repo, and when I look at the history of any of the files that were moved... they only have the most recent refactoring commit. All the history for every file that was moved is no longer present. Why is this?
Upvotes: 3
Views: 1106
Reputation: 2883
Commits for a file that has been moved can be found by
git log --follow <some path to a moved file>
See more at Is it possible to move/rename files in git and maintain their history?
Upvotes: 2