This issue is all over the web, people are having problems multiple times:

http://stackoverflow.com/questions/33064343/go-get-git-error-on-all-sources-but-golang-org
https://github.com/tools/godep/issues/60
https://github.com/golang/go/issues/6042
http://stackoverflow.com/questions/30188499/how-to-do-go-get-on-a-specific-tag-of-a-github-repository
https://github.com/gopherjs/gopherjs/issues/439
https://github.com/grpc/grpc-go/issues/807
https://github.com/kataras/iris/issues/245

Quote from one of the issues, people seem frustrated with Go package 
management:
"tamird <https://github.com/tamird> commented on Aug 1 
<https://github.com/grpc/grpc-go/issues/807#issuecomment-236664329>
Yes, welcome to Go's terrible package management."

Any ideas ?

Cheers.

On Saturday, May 28, 2016 at 7:42:27 PM UTC+2, Tong Sun wrote:
>
> How to fix the "You are not currently on a branch" error for `go get`?
>
> $ go get -u github.com/mattn/go-sqlite3
> # cd .../src/github.com/mattn/go-sqlite3; git pull --ff-only
> From https://github.com/mattn/go-sqlite3
>  * [new branch]      gh-pages   -> origin/gh-pages
>    bbd33c0..38ee283  master     -> origin/master
>  * [new branch]      systemlib  -> origin/systemlib
>  * [new tag]         v1.0.0     -> v1.0.0
>  * [new tag]         v1.1.0     -> v1.1.0
> You are not currently on a branch.
> Please specify which branch you want to merge with.
> See git-pull(1) for details.
>
>     git pull <remote> <branch>
>
> package github.com/mattn/go-sqlite3: exit status 1
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to