Is there short-hand version for:
git checkout master
git merge feature_branch_xyz
I imagine usage would be something like:
git merge-to-target <target_branch> <source_branch>
I'm almost certain there is no out-of-the-box way for this. (I've checked manual)
But before creating custom alias (git config --global alias.merge-to-target '!f765() { git checkout $1; git merge $2; } ; f765'
)
I would like to be sure I'm not reinventing stuff.
(just in case I misread the manual, or some other command handles such thing...)