-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathReadme.txt
50 lines (29 loc) · 1.86 KB
/
Readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
view git config: `vim ~/.gitconfig`
------
run `git config --global http.proxy http[s]://userName@proxyaddress:port`
then git push as usual. May need to run `git config --global credential.helper manager`.
got proxy address and port from here: http://superuser.com/questions/346372/how-do-i-know-what-proxy-server-im-using
No need to store password, see last answer here: https://stackoverflow.com/questions/22799825/using-git-on-windows-behind-an-http-proxy-without-storing-proxy-password-on-di
----------
original help found here:
Github error:
http://stackoverflow.com/questions/18356502/github-failed-to-connect-to-github-443-windows-failed-to-connect-to-github
Well I did following steps
1.
Google the error
2.
Got to SO Links(here(http://stackoverflow.com/questions/496277/git-error-fatal-unable-to-connect-a-socket-invalid-argument), here(http://stackoverflow.com/questions/3512202/github-https-access)) which suggested the same thing, that I have to update the Git Config for proxy setting
3.
Damn, can not see proxy information from control panel. IT guys must have hidden it. I can not even change the setting to not to use proxy.
4.
Found this wonderful tutorial(http://superuser.com/questions/346372/how-do-i-know-what-proxy-server-im-using) of finding which proxy your are connected to
5.
Updated the http.proxy key in git config by following command
git config --global http.proxy http[s]://userName:password@proxyaddress:port
6.
Error - could not resolve proxy some@proxyaddress:port. It turned out my password had @ symbol in it.
7.
Encode @ in your password to %40 because git splits the proxy setting by @
git config --global http.proxy http[s]://userName:password(encoded)@proxyaddress:port
Baam ! It worked !
Note - I just wanted to answer this question for souls like me, who would come looking for answer on SO :D