Skip to content

Instantly share code, notes, and snippets.

@a-bx
Created December 4, 2012 14:06
Show Gist options
  • Save a-bx/4204247 to your computer and use it in GitHub Desktop.
Save a-bx/4204247 to your computer and use it in GitHub Desktop.
Consultas Git
########################################
#
# GIT
#
########################################
# Mostrar commits que no se han pusheado:
$ git log origin/branch..branch
$ git log origin/master..HEAD
# Resetar todos los cambios unstaged
$ git reset --hard HEAD
# es menos riesgo hacerlo por archivo
########################################
#
# HUB FLOW
#
########################################
# Actualizar nuestro local (debe hacerse seguido)
$ git hf update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment