Skip to content

Instantly share code, notes, and snippets.

@danielquisbert
Last active March 20, 2018 15:14
Show Gist options
  • Save danielquisbert/9673e5fe8fdd51fd7a7abd4f365b8193 to your computer and use it in GitHub Desktop.
Save danielquisbert/9673e5fe8fdd51fd7a7abd4f365b8193 to your computer and use it in GitHub Desktop.
Solution to error proxy git

example error:

$ git push origin master

fatal: unable to access 'https://urlgit/repo.git/': Failed to connect to gitlab.com port 443: Conexión rehusada

Solution:

Configure proxy for git

$ git config --global http.proxy http://daniel.quisbert:[email protected]:8080

Quitar la configuración anterior

$ git config --global --unset http.proxy
ó
$ git config --global --unset core.gitproxy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment