TortoiseGit - 无需切换即可合并

TortoiseGit - merge without switch

我想从master(当前分支)合并到branch1。

为此,使用 TortoiseGit,据我所知,我需要切换到 branch1 并从 master 合并。

是否可以在不切换分支的情况下使用 TortoiseGit 来实现?

目前这在 TortoiseGit 中是不可能的。

... merging always takes place within a working tree. If you want to merge changes into a branch, you have to have a working tree for that branch checked out, ...

来自:https://tortoisegit.org/docs/tortoisegit/tgit-dug-merge.html