3 ms·
Running GOPATH=$HOME go get github.com/foo/bar would download the package to: $HOME/src/github.com/foo/bar So $HOME will not have .git.
by nishs 10y ago
Running
GOPATH=$HOME go get github.com/foo/bar
would download the package to:
$HOME/src/github.com/foo/bar
So $HOME will not have .git.