I started using GitHub almost a month back. Initially, I used to create an online repository(repo in short) and create files there only. But How long could it go??
So, I installed GitHub for Windows . The website boasts of it as "The easiest way to use GitHub on Windows" , this is indeed true. But Proxy users (like me :P) ,you might face some difficulty in the beginning,you might not be able to clone or push your repositories from desktop. I had a similar problem and I contacted Steve Ward ,a GitHubber and thanks to him, I can use GitHub even while using a proxy.Read on to find how you too can solve your problem.
- First of all, if this blog was not there, you would use this link to communicate your problem. But if you have the same problem I had , why go on to repeat the same task. Read the points below.
- My log file read :
GitHub.IO.ProcessException: Cloning into 'ERP'...
fatal: unable to access 'https://github.com/Acyut123/ERP.git/': Failed connect to github.com:443; No error
If you are behind a proxy or a firewall, Port 443 is blocked and this article might help you in order to open certain ports.
If you didn't get that, no need to worry.(Note that GitHub doesn't officially support runnint the application behind a proxy ,for the release i am using.)
3.Open Git Shell and type in the following:
git config --global http.proxy http://proxyuser:proxypwd@proxy.server.com:8080
Replace `proxyuser` with your proxy username and `proxypwd` with your proxy password. Also, `proxy.server.com:8080` needs to point to the URL of your proxy server.
I too followed the same and voila!!, immediately all the functions of GitHub became accessible from Windows.
Thank you GitHub for the awesome user service !!!
Edit
You might temporarily not require a proxy server for connecting to the internet, the commmands mentioned above will , in most cases prevent you to connect GitHub for windows to connect to the server.
Run the following command:
git config --global --unset http.proxy
and your network settings will be restored to the normal!!
Edit
You might temporarily not require a proxy server for connecting to the internet, the commmands mentioned above will , in most cases prevent you to connect GitHub for windows to connect to the server.
Run the following command:
git config --global --unset http.proxy
and your network settings will be restored to the normal!!
No comments:
Post a Comment