Skip to content

Instantly share code, notes, and snippets.

@Klerith
Last active December 21, 2024 12:33
Show Gist options
  • Save Klerith/0acf18bbece7923bcac55edb71b03c2b to your computer and use it in GitHub Desktop.
Save Klerith/0acf18bbece7923bcac55edb71b03c2b 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

@IvanHapo
Copy link

IvanHapo commented Aug 4, 2024

Excelente profe, muchas gracias

@beeark
Copy link

beeark commented Aug 23, 2024

2024-08-23_15-43

Nice

@unnativodigital
Copy link

mil gracias por tanto!

@cxndxr
Copy link

cxndxr commented Oct 31, 2024

Gracias se ve muy bien!

@LuisTul
Copy link

LuisTul commented Nov 14, 2024

Gracias !!

@JulianBcb07
Copy link

thank u profe

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