User Tools

Site Tools


informatica:git

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
informatica:git [2019/12/30 19:03] – [Subir un cambio] joseinformatica:git [2019/12/30 19:07] – [Añadir rama branch] jose
Line 49: Line 49:
   git checkout -b test   git checkout -b test
   git push origin test   git push origin test
 +Listar ramas:
 +<code>
 +git branch -a
 +  master
 +* test
 +  remotes/origin/HEAD -> origin/master
 +  remotes/origin/master
 +  remotes/origin/test
 +</code>
 +Cambiar de rama:
 +<code>
 +git checkout master
 +A Dockerfile_ok
 +A Dockerfile_test
 +Switched to branch 'master'
 +Your branch is up to date with 'origin/master'.
 +</code>
  
 ===== Servidor git acceso claves ssh ===== ===== Servidor git acceso claves ssh =====
informatica/git.txt · Last modified: 2022/01/06 20:19 by jose