Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go get -u -v github.com/rogpeppe/godef error #53

Open
zanjs opened this issue Feb 12, 2017 · 2 comments
Open

go get -u -v github.com/rogpeppe/godef error #53

zanjs opened this issue Feb 12, 2017 · 2 comments

Comments

@zanjs
Copy link

zanjs commented Feb 12, 2017

 anla@Anla  ~/go/src/golang-day-test master: go get -u -v github.com/rogpeppe/godef
github.com/rogpeppe/godef (download)
# cd /Users/anla/go/src/github.com/rogpeppe/godef; git pull --ff-only
There is no tracking information for the current branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.

    git pull <remote> <branch>

If you wish to set tracking information for this branch you can do so with:

    git branch --set-upstream-to=origin/<branch> master

package github.com/rogpeppe/godef: exit status 1
@zanjs zanjs changed the title go get error go get -u -v github.com/rogpeppe/godef error Feb 12, 2017
@modyuan
Copy link

modyuan commented Apr 3, 2018

same problem.

@albinekcom
Copy link

albinekcom commented Feb 24, 2019

These steps have helped me:

  1. Make sure that yours GOPATH variable is set properly (invoke $ env | grep 'GOPATH' in Terminal application and check if this value equals /Users/{your_user_name}/go (a place where go is installed)).
  2. Remove files in /Users/{your_user_name}/go/src (invoke $ rm -rf /Users/{your_user_name}/go/src/ in Terminal application) and try to install godef once again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants