bash - How can I find my alias for `git log`? -
i have git log formatted specific way, works when call git lg
(note lack of o) , looks quite nice. got stackoverflow answer , had enter in command line, git config ...
or something, , voila, git lg worked.
however, i'm on new computer , want work again. how git lg mapped to?
this output alias: git config alias.lg
in general, can @ alias git config alias.<alias>
. in .gitconfig
file , copy contents, although git config
command easier.
also, suspect alias. original here throwing 500 error me right (archived on archive.org) . folks lazy click links:
log --graph --pretty=format:'%cred%h%creset -%c(yellow)%d%creset %s %cgreen(%cr) %c(bold blue)<%an>%creset' --abbrev-commit --date=relative
Comments
Post a Comment