GIT revert a revert of merge request
use GIT cherry pick
https://stackoverflow.com/questions/9339429/what-does-cherry-picking-a-commit-with-git-mean
Cherry-picking in Git means choosing a commit from one branch and applying it to another.
This contrasts with other ways such as merge
and rebase
which normally apply many commits to another branch.
It's also possible to cherry-pick multiple commits but merge
is the preferred way over cherry-picking.
Make sure you are on the branch you want to apply the commit to.
git switch master
Execute the following:
git cherry-pick <commit-hash>
No comments:
Post a Comment