Xcode 4 and git merge --no-ff

I like the integration of git in Xcode 4, but when performing a merge it seems that Xcode will do the default merge with fast forward. I like to maintain separate branches of my function. Does anyone know if merging Xcode is possible without fast-forward?

+8
git merge xcode
source share
1 answer

You can try to set the configuration

branch.<name>.mergeoptions 

Sets default options for branching .
The syntax and supported parameters are the same as git-merge , but parameter values โ€‹โ€‹containing whitespace are not currently supported.

So you can add --no-ff there and see if XCode4 supports the configuration for your feature branch.

As Yitschak adds in the comments :

 git config branch.<name>.mergeoptions --no-ff 
+7
source share

All Articles