Boone Putney bio photo

Boone Putney

Software Development
Random Musings
Austin, Texas

HumanPlanet Soleer

Email LinkedIn Github

By default, Go get attempts to “get” repositories via https. Since our private repository was hosted on bitbucket, we needed to find a way around. Below is the quick and simple solution.

You’re probably having this issue if you’re trying to use “go get” and being prompted to enter: “Username for ‘’:”


1 $ git config --global url."".insteadOf ""


The command is fairly straight forward, but basically you’re telling git to access the repository via ssh instead of https url.

GitHub Equivalent

1 $ git config --global url."".insteadOf ""