Skip to content

Latest commit

 

History

History

git-cherry-pick-merge

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

git cherry-pick-merge

Cherry pick a merge commit

Git alias:

cherry-pick-merge = !"sh -c 'git cherry-pick --no-commit --mainline 1 $0 && \
    git log -1 --pretty=%P $0 | cut -b 42- > .git/MERGE_HEAD && \
    git commit --verbose'"

Thanks to cody cutrer.

TODO: write summary

Example:

git cherry-pick-merge