Is there a way to merge a branch into another without checking out either branch? For example, I have branch 'master' checked out, but I want to merge branch-a into branch-b, without leaving master.
Asked
Active
Viewed 1.2k times
41
-
1Other related question: http://stackoverflow.com/questions/3216360/git-update-a-local-branch-without-checking-it-out – charles Mar 31 '12 at 21:38
-
See also [Update/pull a local Git branch without checking it out?](http://stackoverflow.com/q/3216360/456814). – May 29 '14 at 20:06
-
Duplicate of [Merge, update, and pull Git branches without using checkouts](http://stackoverflow.com/q/3216360/456814). – Jul 25 '14 at 21:54