Skip to content

Instantly share code, notes, and snippets.

View joseangelmt's full-sized avatar
🎯
Developing

José Ángel Martínez Torres joseangelmt

🎯
Developing
View GitHub Profile
@joseangelmt
joseangelmt / git-alias.md
Last active November 15, 2021 15:40 — forked from Klerith/git-alias.md
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"