Skip to content

Instantly share code, notes, and snippets.

@juizmill
Last active May 5, 2017 14:25
Show Gist options
  • Select an option

  • Save juizmill/e3b852d45d2828189eea4099c7b9795d to your computer and use it in GitHub Desktop.

Select an option

Save juizmill/e3b852d45d2828189eea4099c7b9795d to your computer and use it in GitHub Desktop.
config git from golang by repository private
Em repositório privado só ADD esta configuração no arquivo .gitconfig
[url "[email protected]:"]
insteadOf = https://github.com/
[url "[email protected]:"]
insteadOf = https://gitlab.com/
[url "[email protected]:"]
insteadOf = https://bitbucket.com/
Esta configuração irá funcionar no github, gitlab e bitbucket
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment