git - Using GitHub behind a firewall without SSH access -


i want use github, company has locked down. now, can use tortoise svn through http protocol. can use github same way? if so, how?

i think you've been able clone github repositories on http, restriction couldn't push them. however, github have introduced smart http transport, can push on https. should work fine behind firewall. there's more on smart http support in blog post:

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

to give short summary - if click http button on "source" tab of repository, it'll give url like:

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

if clone url, it'll prompt github password whenever need communicate server (e.g. git clone, git fetch, git push, etc.) however, can clone using url like:

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

... , won't need re-enter password. (as blog post mentions, make sure you've got https:// @ start of url, , aware means github password stored in plaintext in git config, don't let copy .git directory!)


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -