GIT detras de un proxy

GIT es otro software que se utiliza para control de versiones, tal como SVN o CVS. Queria bajar el nuevo Doctrine2 desde el repositorio de GIT y me vi envuelto en la tarea de hacerlo funcionar detrás de un proxy. Luego de investigar un rato, las soluciones mas simples y prolijas me parecieron las siguientes:

  1. Configurar el proxy en tu entorno:
    export http_proxy=http://<username>:<password>@<proxy_ip>:<proxy_port>
  2. Configurar utilizando la herramienta de configuracion de GIT:
    git config --global http.proxy proxy_addr:proxy_port

El único detalle es que si deseabamos hacer:

git clone git://github.com/doctrine/doctrine2.git doctrine

Ahora debemos hacer

git clone http://github.com/doctrine/doctrine2.git doctrine

Referencias:

This entry was posted in sysadmin and tagged . Bookmark the permalink.

4 Responses to GIT detras de un proxy

  1. Egoistik says:

    it was very interesting to read ln2.com.ar
    I want to quote your post in my blog. It can?
    And you et an account on Twitter?

  2. guiss says:

    Thanks. Sure, quote everything you want, the idea behind this is to post useful information for everyone. My Twitter account is @guido_sanchez and I mainly goof around there.

  3. ctixi says:

    I would like to exchange links with your site ln2.com.ar
    Is this possible?

  4. guiss says:

    What would that consist of? Want me to put your site on my sidebar or something like that?

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>