Sunday, 31 July 2011

Fixing Git Remote Reference

Did a 'git pull' and saw this:

Your configuration specifies to merge with the ref 'master'
from the remote, but no such ref was fetched.

A quick bit of googling turned up, which indicated I needed to edit my .git/config file to contain this:

[branch "master"]
        remote = origin

The remote = origin line was missing, therefore git didn't know where to pull from.

No comments:

Post a Comment