Thursday, September 12, 2013

Github: Failed to connect to; No error

I have been swearing for a while to realize that the git client ( requires a proxy settings to be able to contact github.
Here are all the commands (don't tell me git is intuitive.... it's a hell of a lot of work only to get the basic done).
The command is "git config --global http.proxy"
All the git config settings are documented here

$ git config --global "vernetto"

$ git config --global

$ mkdir kitammuort

$ cd kitammuort/

$ git init
Initialized empty Git repository in c:/pierre/workspaceGIT/kitammuort/.git/

$ touch README

$ git add README

$ git commit -m 'first commit'
[master (root-commit) e5310e1] first commit
 1 file changed, 1 insertion(+)
 create mode 100644 README

$ git remote add origin

$ git push origin master
fatal: unable to access '': Failed to connect to; No error

git remote set-url origin

git config --global http.proxy

git pull origin master

git push origin master

No comments: