Skip to content

Instantly share code, notes, and snippets.

View angelmmg90's full-sized avatar
👋

Ángel M. angelmmg90

👋
View GitHub Profile

Checkout a new working branch

 git checkout -b <branchname>

Make Changes

 git add
 git commit -m "description of changes"

Sync with remote

@angelmmg90
angelmmg90 / Operaciones-Git
Last active April 6, 2023 08:46 — forked from jelcaf/Operaciones-Git
Git Tips - Mini-trucos de Git para facilitarme la tarea
#############################################
# Push de la rama actual
git push origin $rama_actual
#############################################
# Volver a un commit anterior, descartando los cambios
git reset --HARD $SHA1
#############################################
# Ver y descargar Ramas remotas