On Wed, Oct 12, 2016 at 2:27 PM Thomas Modeneis <thomas.moden...@gmail.com>
wrote:

> Oh this is one of the problems that is really time consuming. I'm not
sure if this is related, but I've never had this kind of problems before
+1.7.

Not being on a git branch is quite probably not caused by Go (regardless of
version).

> @Dave, I've tried your "quick-fix" but no luck ...
>
> $ go get google.golang.org/grpc
> # cd /opt/gocode/src/golang.org/x/net; git pull --ff-only
> You are not currently on a branch. Please specify which
> branch you want to merge with. See git-pull(1) for details.

Dave's fix was to delete the repo, but the above clearly shows the repo
still exists. Maybe you have multiple GOPATHs? Another way how to attempt
to fix the problem is to go to the repository directory and trying

        $ git checkout master

HTH

-- 

-j

-- 
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