No tracking information for current branch



I build a package using PkgTemplates.jl, and everything was fine, until I couldn’t Pkg.update() without the following error:

julia> Pkg.update("BeetleWay")
INFO: Updating METADATA...
INFO: Computing changes...
INFO: No packages to install, update or remove
ERROR: Update finished with errors.
=> Package BeetleWay cannot be updated.
GitError(Code:ERROR, Class:Merge, There is no tracking information for the current branch.)

I’m on master:

$ git status
On branch master
nothing to commit, working tree clean

and my .git/config file is:

	bare = false
	repositoryformatversion = 0
	filemode = true
	logallrefupdates = true
[remote "origin"]
	url =
	pushurl =
[branch "master"]
	remote = origin
	merge = refs/heads/master

Does anyone git-savy know what I’m supposed to do?


not exactly, but i think you’re missing the upstream (see git branch --set-upstream) information for fetch/merge.
I have (for a similar setup, local package/github as remote) an additional line

[remote "origin"]
        url =
        fetch = +refs/heads/*:refs/remotes/origin/*
        pushurl =


Perfect! Thanks!!!