-
Couldn't load subscription status.
- Fork 54
Add git-cherry-pick-by-patch command #50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add git-cherry-pick-by-patch command #50
Conversation
The command cherry-picks commit with given hash into current branch by means of `patch -p1`.
258a375 to
3709cfa
Compare
|
Last force-push addresses:
|
| `patch -p1 --no-backup-if-mismatch`, and then commit changes with commit message | ||
| from `commit_hash` commit. | ||
|
|
||
| ## Workflow |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are calling this ##Implementation by convention where workflow could be ###
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: enxebre, mpatlasov The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
The command cherry-picks commit with given hash into current branch by means of
patch -p1.Sometimes ordinary
git cherry-pick <commit_hash>fails with:while
patch -p1succeeds. The new command automate cherry-picking bypatch -p1. Example of output is in the first commit of this PR.