I use --no-off git flag for with no fast forward merge how can I use no fast forward in visual studio
I use command below for this
git merge --no-ff feature_newfeature
I want use git merge with no fast forward in visual studio 2022
This can be done in Visual Studio 2022. First, in the main menu Git > Settings (or Tools > Options), de-select "Commit changes after merge by default":
Then merge your branch, and you will get a little dialog like this one:
Here, leave the checkbox unticked.
When you click "Merge" you will get the chance to enter your merge message.
I still think is better and faster to just use the terminal command.
Here is some info about it in Microsoft's help: https://learn.microsoft.com/en-us/visualstudio/version-control/git-settings?view=vs-2022#commit-changes-after-merge-by-default
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With