You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
x-MacBook-Pro:src apple$ go get -u github.com/Masterminds/glide-report
# cd /Users/apple/workspace/go/src/github.com/codegangsta/cli; 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.
git pull <remote> <branch>
package github.com/codegangsta/cli: exit status 1
x-MacBook-Pro:src apple$
The text was updated successfully, but these errors were encountered:
go get drops down into git to fetch something. It can do one of two things...
For new clones it runs git clone {repo} {dir}
Downloading updates it runs git pull --ff-only
If you've altered either of these commands on your own it can cause go get to behave in unintended ways. Have you made any custom changes to git that could cause this?
go 1.7
x-MacBook-Pro:src apple$ go env
GOARCH="amd64"
GOBIN="/Users/apple/workspace/go/bin"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/apple/workspace/go"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/wp/ff6sz9qs6g71jnm12nj2kbyw0000gp/T/go-build607909689=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
x-MacBook-Pro:src apple$
The text was updated successfully, but these errors were encountered: