Para volver al commit anterior (hacer un UNDO):
git reset --hard HEAD^
| sudo yum install libmpc-devel mpfr-devel gmp-devel | |
| cd ~/Downloads | |
| curl ftp://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-7.1.0/gcc-7.1.0.tar.bz2 -O | |
| tar xvfj gcc-7.1.0.tar.bz2 | |
| cd gcc-7.1.0 | |
| ./configure --disable-multilib --enable-languages=c,c++ | |
| make -j 4 | |
| make install |
Para volver al commit anterior (hacer un UNDO):
git reset --hard HEAD^
Programas necesarios:
Pasos:
| $j('#e1').select2({ | |
| placeholder: "Seleccione municipio", | |
| allowClear: true, | |
| ajax: { | |
| url: '/vct/json/jsonMunicipios.php', | |
| dataType: 'json', | |
| data: function (term) { | |
| return { | |
| term: term | |
| }; |
| #!/bin/sh | |
| # Install OpenERP 7 on Digital Ocean | |
| # Fernando Altuzar | |
| # Modified script from Carlos E. Fonseca Zorrilla & Mario Gielissen | |
| # First: Create a Droplet with CentOS 32 bits | |
| # Then: | |
| yum -y install wget unzip | |
| rpm -ivh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm | |
| rpm -ivh http://yum.pgrpms.org/9.2/redhat/rhel-6-i386/pgdg-centos92-9.2-6.noarch.rpm |
| Hacer un deploy en GIT sustituyendo los fuentes locales con la copia operativa del repositorio en origin. | |
| Tendremos en cuenta los submódulos nuevos y los existentes. | |
| 1- Descargamos lo que hay en el repositorio, incluyendo los submódulos existentes | |
| git fetch --all --depth=1 | |
| 2- Inicializamos los nuevos submódulos | |
| git submodule init | |
| 3- Descargamos los nuevos submódulos | |
| git submodule update |
| git submodule add <url del repositorio git> <ruta/subruta> | |
| git submodule init | |
| git submodule update | |
| git commit -m "<mensaje commit>" | |
| git push |
| En la línea de comandos: | |
| set http_proxy=http://<proxy>:<puerto> | |
| (gem install vagrant-vbguest) | |
| vagrant plugin install vagrant-vbguest | |
| vagrant plugin list |
| Herramientas para Windows: | |
| SmartGIT: http://www.syntevo.com/smartgithg/ | |
| SourceTree: http://www.sourcetreeapp.com/ | |
| GIT for Windows: http://msysgit.github.io/ | |
| Modelo GIT: | |
| http://nvie.com/posts/a-successful-git-branching-model/ | |
| Sistemas remotos: | |
| BitBucket: https://bitbucket.org/ |