Skip to content

Instantly share code, notes, and snippets.

@JarevarckeSoft
Forked from Klerith/git-alias.md
Created August 17, 2023 23:38
Show Gist options
  • Save JarevarckeSoft/e8d9b1b78a998c683408453d38a14f6f to your computer and use it in GitHub Desktop.
Save JarevarckeSoft/e8d9b1b78a998c683408453d38a14f6f to your computer and use it in GitHub Desktop.
Useful Git Alias

Log

git config --global alias.lg "log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all"

Status

git config --global alias.s status --short

Alternativa útil de status

git config --global alias.s status -sb

@JarevarckeSoft
Copy link
Author

alias de git log con información específica.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment