Git · Senior · Question 20 of 76

How does git cherry or patch-id detection help after cherry-picking?

Explanation

Cherry-picked commits have different hashes but the same patch. Rebase also uses patch-ids to skip commits that are already upstream.

Further reading

Problem with a question

Git · Senior · question 20

Test yourself

Take the Git · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz