Using GitHub behind a firewall without access to SSH

I really want to use GitHub, but my company has everything blocked. Now I can use Tortoise SVN through the HTTP protocol. Can I use github the same way? If so, how?

+11
git github ssh
Feb 23 '11 at 16:14
source share
2 answers

I think you could always clone github repositories via HTTP, but with restrictions that you could not return to them. However, github recently introduced Smart HTTP transport, so now you can also click HTTPS. This should work fine due to any firewall. This blog post contains more support for Smart HTTP:

https://github.com/blog/642-smart-http-support

To give a brief summary - if you click the HTTP button on the Source tab in the repository, it will give you a URL, for example:

https: //mhl@github.com/mhl/unicode-poster.git

If you clone this URL, it will tell you your github password whenever you need to contact the server (e.g. git clone , git fetch , git push , etc.). However, you can also clone using the URL, for example:

https: // mhl: notactuallymypassword@github.com/mhl/unicode-poster.git

... and you do not need to re-enter the password. (As mentioned in this blog post, make sure you have https:// at the beginning of the URL, and keep in mind that this means that your github password will be stored in clear text in your git configuration, so don't let anyone copy the .git directory!)

+16
Feb 23 '11 at 16:27
source share

According to https://github.com/blog/92-http-cloning , you can clone from github via http.

Another message in this thread gives a good click pointer.

+1
Feb 23 '11 at 16:28
source share



All Articles