alternative to rebase in case you only need to drag 1 commit, do I understand correctly git cherry-pick

  • As I understand it, rebase moves the rebase , and cherry-pick copies them. Is it an alternative? Depends on the goal. - LEQADA
  • 2
    In the rebase -i , if you read it, the pick command just makes a cherry-pick commit to a new basis. So yes, they do similar things. But, as @LEQADA correctly notes, different things happen to branches. - D-side

0