• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Twitter
  • Facebook
  • Instagram

Remkus de Vries

Curiously Questioning Everything

Menu
  • Blog
  • Updates
  • Newsletter
  • About
  • Contact
  • Remkus de Vries
  • Blog
  • Updates
  • Newsletter
  • About
  • Contact

Fix for Git Warning: No merge candidate found because value of config option

Remkus wrote on 6 December, 2012 Leave a Comment

Found myself a dealing with a Git message that took me quite a bit of time to solve, so I figured I’d post it here real quick in case anyone else needs it as bad as I did:

The warning that I got was this one:

Warning: No merge candidate found because value of config option
         "branch.master.merge" does not match any remote branch fetched.

Basically this stopped me from doing a proper git pull on a server I was working on. The solution ended up being a few lines that needed to be added to the Git config file. Just add the following command in your terminal and that should do the trick:

$ git config branch.master.remote origin
$ git config branch.master.merge refs/heads/master

Hope this helps you as much as it did me 😉

Topic: Code Git

Previous Post: « Contributed to the new CodePoet
Next Post: In a prison cell, thinking you’re free »

Reader Interactions

ABOUT THIS SITE

This site is hosted by Servebolt – running on state of the art hardware, making it really lightning fast. If you’re serious about fast sites, free tests are available!

See what other WordPress related products I recommend.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Be social, find me here:

  • Twitter
  • Facebook
  • Instagram
Copyright © 2010 – 2022 Remkus de Vries
WordPress hosting by Servebolt