Skip to content

Instantly share code, notes, and snippets.

@gilesdring
Created September 30, 2015 13:27
Show Gist options
  • Save gilesdring/40bd94e0680f83bc490d to your computer and use it in GitHub Desktop.
Save gilesdring/40bd94e0680f83bc490d to your computer and use it in GitHub Desktop.
Helpful info for the hackathon at Hebden Bridge Town Hall

Can't access ssh over The Town Hall network

This affects [email protected] clones, which caused me an issue with bower. The fix in this case is to cause git to use https:// rather than git:// by running this command in the working directory:

git config url."https://".insteadOf git://

To revert the setting run:

git config --unset url."https://".insteadOf

This can also be done globally using the --global flag.

This fix was found on stackoverflow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment