Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a problem with my git configuration. I like to use the --no-ff option when I merge two branch. So I put on my configuration file ~/.gitconfig under the section [merge] the option ff = no. Which set the no fast forward behavior by default.

But now my problem is that when I do a git pull, it create a new commit (and merge) even if there's no modification. So i'm obliged to specify --ff on the pull command... Which is the same than specify --no-ff on the merge.

Is there a way to configure separately each of there two command ?

Thanks for your answers.

share|improve this question
    
From git.661346.n2.nabble.com/…, I don't think is is obvious to do. – VonC Jan 19 '13 at 22:23

You must log in to answer this question.

Browse other questions tagged .