github - I moved all my project files with "git mv", but I have lost all my history. Why? -
as per question (git: want refactor codebase, , create new files structures , move things around. git history maintained?) refactored project, , moved of files using "git mv" command. after committing refactoring work, @ bitbucket repo, , when @ history of of files moved... have recent refactoring commit. history every file moved no longer present. why this?
commits file has been moved can found by
git log --follow <some path moved file>
see more @ is possible move/rename files in git , maintain history?
Comments
Post a Comment