Last Updated: February 25, 2016
·
426
· fousa

Copy a commit from another repo

Sometimes your project starts another life inside another repository because it becomes to different.

But what to do if you committed something in the old repository that can be used inside the new one?

Solution

  • Add a new origin to the new repository.
  • Cherry pick this commit into the current HEAD.

Missa likes git!