# No tracking information for current branch

**URL:** <https://discourse.julialang.org/t/no-tracking-information-for-current-branch/5726>\
**Category:** General Usage\
**Tags:** question\
**Created:** [September 5, 2017, 1:26pm UTC](https://discourse.julialang.org/t/no-tracking-information-for-current-branch/5726 "2017-09-05T13:26:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yakir12](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yakir12/32/297_2.png) [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Post date:** [September 5, 2017, 1:26pm UTC](https://discourse.julialang.org/t/no-tracking-information-for-current-branch/5726/1 "2017-09-05T13:26:09Z")

</div>

I build a [package](https://github.com/yakir12/BeetleWay.jl) using `PkgTemplates.jl`, and everything was fine, until I couldn’t `Pkg.update()` without the following error:

```julia
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:

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

```

and my `.git/config` file is:

```julia
[core]
	bare = false
	repositoryformatversion = 0
	filemode = true
	logallrefupdates = true
[remote "origin"]
	url = git@github.com:yakir12/BeetleWay.jl.git
	pushurl = git@github.com:yakir12/BeetleWay.jl.git
[branch "master"]
	remote = origin
	merge = refs/heads/master

```

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

---

<div class="post-metadata">

**Author:** ![lobingera](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lobingera/32/211_2.png) [@lobingera](https://discourse.julialang.org/u/lobingera)\
**Post date:** [September 5, 2017, 4:48pm UTC](https://discourse.julialang.org/t/no-tracking-information-for-current-branch/5726/2 "2017-09-05T16:48:11Z")

</div>

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

```julia
[remote "origin"]
        url = https://github.com/lobingera/L1Dummy.git
        fetch = +refs/heads/*:refs/remotes/origin/*
        pushurl = git@github.com:lobingera/L1Dummy.git

```

---

<div class="post-metadata">

**Author:** ![yakir12](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yakir12/32/297_2.png) [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Post date:** [September 5, 2017, 5:37pm UTC](https://discourse.julialang.org/t/no-tracking-information-for-current-branch/5726/3 "2017-09-05T17:37:28Z")

</div>

Perfect! Thanks!!!
