deivisonarthur
2/5/2013 - 7:49 PM

instalando-modgit

instlando o git

# These are for RedHat, CentOS, and Fedora.  
$ sudo yum install git gcc-c++ pcre-dev pcre-devel zlib-devel make


Esse texto comentado n é para usar apenas como ref
# These are for Debian. Ubuntu will be similar.
#$ sudo apt-get install git-core build-essential zlib1g-dev libpcre3 libpcre3-dev
#clonando algo no git
#$ git clone https://github.com/pagespeed/ngx_pagespeed.git



isntalando o modgit

curl installation

curl https://raw.github.com/jreinke/modgit/master/modgit > modgit
chmod +x modgit
sudo mv modgit /usr/local/bin


wget installation <- funcionou

wget -O modgit https://raw.github.com/jreinke/modgit/master/modgit
chmod +x modgit

sudo mv modgit /bin <- funcionou


$ cd /my/project/path
$ modgit init
$ modgit clone <module> <git_repository>


Update a module:
$ modgit update <module>

Update all modules:
$ modgit update-all

Remove a module:
$ modgit remove <module>

Remove all modules:
$ modgit remove-all

List installed modules:
$ modgit list


instalar o modulo dos correios

modgit clone magento-pedroteixeira-correios https://github.com/bardusco/magento-pedroteixeira-correios



outras fontes
http://www.johannreinke.com/en/2012/02/06/install-magento-modules-with-modgit/
https://github.com/jreinke/modgit
https://github.com/pagespeed/ngx_pagespeed