Created
January 6, 2020 13:45
-
-
Save maurobaraldi/a6a88dd0c8cc3b148a547e88ba9bdb47 to your computer and use it in GitHub Desktop.
Esse comando lista todas a branches de um repositorio, com o ID do ultimo commit, data, e autor.
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
git show-ref | awk '{print $2}' | xargs -I '{}' git log -n 1 --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit '{}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment