Skip to content

Instantly share code, notes, and snippets.

@jjtroberts
Created October 27, 2023 17:15
Show Gist options
  • Save jjtroberts/c298bdd97cd94bc7d3267bbc116bb0d3 to your computer and use it in GitHub Desktop.
Save jjtroberts/c298bdd97cd94bc7d3267bbc116bb0d3 to your computer and use it in GitHub Desktop.
git config ssh instead of https
# When all your terraform modules use https:// and `terraform init` blocks on username/password prompts.
# Switch to git instead of https
git config --global url."git@github.com:".insteadOf "https://github.com/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment