When transitioning to Git, what strategy helps in preserving the history of a legacy codebase?

  • Squashing all commits into one
  • Creating a new repository and discarding the old history
  • Importing the entire history into a single commit
  • Git Clone
Importing the entire history into a single commit helps preserve the history of a legacy codebase when transitioning to Git. This maintains a clear and complete record of the codebase's evolution.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *