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 revision Previous revision
informatica:git [2019/12/30 19:03]
jose [Subir un cambio]
informatica:git [2019/12/30 19:07] (current)
jose [Añadir rama branch]
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: 2019/12/30 19:07 by jose