/MACROS-IGOR

Primary LanguageIGOR Pro

MACROS-IGOR

  1. Descargar GIT desde https://git-scm.com/.

  2. Instalar con las opciones default hasta que aparezca la IMAGEN

Seleccionar como en IMAGEN (ELEGIR WINDOWS DEFAULT CONSOLE WINDOW):


PARA INICIAR REPOSITORIO LOCAL:

  1. Ejecutar .cmd

  2. Cambiar a directorio donde se almacenan los macros

git init

- SI NO SE TIENE UNA CARPETA DE MACROS PREVIA:

git remote add origin https://github.com/PGA-lab/MACROS-IGOR

git pull https://github.com/PGA-lab/MACROS-IGOR

+ SI SE TIENE UNA CARPETA DE MACROS PREVIA:

ir a ACTUALIZAR FILES (SUBIDA) y realizar todos los pasos excepto git push (esto hace que cuando se bajen los macros que están en el repositorio remoto github estos se mergeen con los locales)

git remote add origin https://github.com/PGA-lab/MACROS-IGOR

git fetch origin master

git merge origin/master


ACTUALIZAR FILES (DESCARGA)

  1. Ejecutar .cmd

  2. Cambiar a directorio donde se almacenan los macros

cd C:\sarasa

  1. Checkear que esté bien configurado el repo remoto git remote -v

tiene que figurar:

origin  https://github.com/PGA-lab/MACROS-IGOR (fetch)

origin  https://github.com/PGA-lab/MACROS-IGOR (push)

git fetch origin master

git merge origin/master


ACTUALIZAR FILES (SUBIDA)

  1. Ejecutar .cmd

  2. Cambiar a directorio donde se almacenan los macros

cd C:\sarasa

git status

git add -u ./

git commit -a -m "MENSAJE A GUSTO"

git push