I have a system installed /usr/bin/git
and a local ~/bin/git
. Both are in $PATH
.
- Which git will
go get ...
use? I'm assuming the first one it can find in$PATH
, which usually would be/usr/bin/git
. - Is there a way to force
go get ...
to use a git binary from a different path and not the first one it can find? e.g.~/bin/git
or/some/other/path/to/git
.