Created
December 4, 2012 14:06
-
-
Save a-bx/4204247 to your computer and use it in GitHub Desktop.
Consultas Git
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
######################################## | |
# | |
# 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