Skip to content

Instantly share code, notes, and snippets.

@vovandodev
Created November 20, 2018 18:44
Show Gist options
  • Save vovandodev/2e19d1b280640cdd8db252c13e9e2061 to your computer and use it in GitHub Desktop.
Save vovandodev/2e19d1b280640cdd8db252c13e9e2061 to your computer and use it in GitHub Desktop.
$ git pull origin
Your configuration specifies to merge with the ref 'refs/heads/master'
from the remote, but no such ref was fetched.
$ cat .git/config
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
precomposeunicode = true
[remote "origin"]
url = https://github.com/noteits/appengine-java8-cloudsql.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "develop"]
remote = origin
merge = refs/heads/master
#Change master in line 19 to a newname.
$ vim .git/config
$ git pull origin
Already up to date.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment