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 not working #201

Closed
pjebs opened this issue Sep 22, 2016 · 10 comments
Closed

go get not working #201

pjebs opened this issue Sep 22, 2016 · 10 comments

Comments

@pjebs
Copy link

pjebs commented Sep 22, 2016

iMac:~ PJEBS$ go get -u golang.org/x/oauth2
# cd /Developer/Projects/GOPATH/src/golang.org/x/oauth2; 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 golang.org/x/oauth2: exit status 1
@yanpozka
Copy link

Your output looks weird, first you're doing a go get and then you're a super user (# cd ...), also those errors are git output, no from go get

Try to do a go get -v -u golang.org/x/oauth2 and you'll see how it download all the dependencies. At least it's working for me.

@pjebs
Copy link
Author

pjebs commented Sep 29, 2016

Can you try deleting out the package from GOPATH and then go getting it again and see if it works?
It simply does not work for me. It spits out those git messages. EVERY OTHER PACKAGE I GO GET WORKS! lol

@xoraes
Copy link

xoraes commented Oct 18, 2016

+1

@rakyll
Copy link
Contributor

rakyll commented Oct 25, 2016

Delete the package from GOPATH and go get it again. Your package is modified and git is refusing to pull from upstream.

@dhavlev
Copy link

dhavlev commented Jul 24, 2019

Specifically delete the src/golang.org folder

@clock21am
Copy link

didn't work for me that way I can say

@clock21am
Copy link

I had to delete the entire src folder in order to get it to work still searching for the reason let me know if anyone of you has it

@shankernaik
Copy link

@rakyll Worked for me. Thanks! :)

@bret-walda
Copy link

@rakyll that was very helpful worked for me

@Asadbe
Copy link

Asadbe commented Mar 9, 2020

it`s worked thanks

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

9 participants