Skip to content

ireneCabezas0909/GitPractice

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

238 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Git Practice

Usaremos este repositorio para practicar todo tipo de commandos en git y como usarlos para resolver ciertos errores. Esperemos que os lo paséis bien!

Fefy

Comandos

  • Clonar Repositorio: git clone <repository-url>
  • Crear Rama: git checkout -b <branch-name>
  • Moverse a otra Rama: git checkout <branch-name> | git switch <branch-name>
  • Añadir Cambios: git add <file-name>
  • Commit Cambios: git commit -m "commit message"
  • Push Rama: git push origin <branch-name>
  • Pull Cambios: git pull origin main
  • Resolver Conflictos: Edit manualmente, después git add, git commit
  • Hacer Merge, ejemplo merge rama test a main:
    • Asegúrate de estar en la rama a la que quieras hacer el merge git switch main
    • Pull the los últimos cambios de esa rama git pull origin main
    • Merge git merge test

Enlaces de interés

About

Let's GIT practise with this repo!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • HTML 100.0%