How do pull no fast-forward in TortoiseGit

早过忘川 提交于 2019-12-08 01:52:33

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/6893301/how-do-pull-no-fast-forward-in-tortoisegit

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!