Checking if a cherry-pick is required

suggest change

Before you start the cherry-pick process, you can check if the commit you want to cherry-pick already exists in the target branch, in which case you don’t have to do anything.

git branch --contains <commit> lists local branches that contain the specified commit.

git branch -r --contains <commit> also includes remote tracking branches in the list.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents