Created
December 5, 2012 16:42
-
-
Save marrselo/4217259 to your computer and use it in GitHub Desktop.
GIT comandos utiles
This file contains hidden or 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
| # listar los branchs por ordenados por fecha commit , y autor | |
| git for-each-ref --sort=-committerdate refs/heads/ --format='%(refname:short) %(committerdate:short)%(authorname)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
git for-each-ref --sort=-committerdate refs/heads/ --format='%(refname) %(committerdate) %(authorname)' | sed 's/refs/heads///g'
git reflog (lista los commit se ven los id de los HEAD)
con $ git reset --hard HEAD@{nro} (se pasa a esa version)