Git - Git Aliases
![](https://programming.dev/pictrs/image/4889cdaa-e5de-4785-bbaa-6e56507641da.png)
![](https://programming.dev/pictrs/image/999febb8-02e8-4d0b-883b-301f415cfe45.png)
git-scm.com
My favorite is git h
, which produces a nicely summarized log of commits on the current branch, with some highlighting and relative dates:
[alias]
h = log --graph --abbrev-commit --date=relative --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'
What's your favorite Git alias?
No comments yet. You could be first!