Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clone timing out behind firewall #39

Open
gaigUXD opened this issue Sep 16, 2014 · 1 comment
Open

clone timing out behind firewall #39

gaigUXD opened this issue Sep 16, 2014 · 1 comment

Comments

@gaigUXD
Copy link

gaigUXD commented Sep 16, 2014

When I am behind a firewall, the clone operation times out:

Error: Command failed: Cloning into 'my-project'...
fatal: unable to connect to github.com:
github.com[0: 192.30.252.129]: errno=Operation timed out

Am I able to configure gift to do something like this?
git config --global url."https://github.com".insteadOf git://github.com

@notatestuser
Copy link
Owner

Why would you set it in config? Just clone with an https url instead. e.g.
$ node -e "require('gift').clone('https://github.com/notatestuser/gift.git', 'gift', function(){})"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants