在TortoiseGit中如何避免快进 [英] How do pull no fast-forward in TortoiseGit
问题描述
由于有人建议在Git中没有快速合并(--no-ff),我想这样做。但是我看不到要在TortoiseGit GUI中启用它的位置。
是的,我可以从命令行执行此操作。但是其他人不会使用它,所以我需要一个GUI解决方案。
编辑:从问题中删除推送;如下所述,这是不现实的。
你在哪里搜索它?当选择TortoiseGit - >合并菜单项时,我得到如下所示的对话框。我不能相信你错过了不快进复选框:)
对于 pull
TortoiseGit中没有这样的选项,但您可以手动执行 fetch
然后 merge
与'No Fast Forward'选项。净结果将是相同的。
Since some people recommend no fast-fordward (--no-ff) on merges in Git, I wanted to do that. But I can't see where to check to enable that in the TortoiseGit GUI.
Yes, I could do this from the command line. But others in the group won't use it, so I need a GUI solution.
EDIT: removed push from question; it is not realistic as pointed out below. The references were to pulls only.
Where do you search for it? When selecting TortoiseGit -> Merge menu item I get dialog shown below. I can't believe that you missed "No Fast Forward" check box on it :)
For pull
there's no such option in TortoiseGit, but you can do fetch
and then merge
with 'No Fast Forward' option from the GUI manually. Net result would be the same.
这篇关于在TortoiseGit中如何避免快进的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!