by maaaats · 12y ago · 0 comments
My IDE usually does that for me, so never really considered it an issue to change branch with an unclean tree.
Alternatively if the merge is a simple fast-forward you can just do `git push . source:destination`, which is what `git forward-merge` does in that case too.
git fetch origin master:master