Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GIT GUI and merge using --no-ff option

I'm using GIT since last year and it is really really helpful...

I read a lot about the best way to use branches etc... I actually have only one problem, I mainly use the GIT GUI

git-gui version 0.17.GITGUI
git version 1.8.0.msysgit.0

Tcl/Tk version 8.5.11

And I never found an option to do a simple merge with the --no-ff option

Is there any way to use this parameter? or to set it as default in GIT GUI?

reference: http://nvie.com/posts/a-successful-git-branching-model/

like image 501
Marcx Avatar asked Dec 27 '22 09:12

Marcx


1 Answers

I can't find an option in the GUI, but you could set this to be the default behavior. Open a terminal window and set the merge.ff option to false:

$ git config --global merge.ff false

If you want to set this for only a specific repo, remove the --global flag.

like image 192
eykanal Avatar answered Jan 08 '23 15:01

eykanal