开发者

How do pull no fast-forward in TortoiseGit

开发者 https://www.devze.com 2023-03-24 09:05 出处:网络
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.

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 :)

How do pull no fast-forward in TortoiseGit

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消