Hacker News new | past | comments | ask | show | jobs | submit login

I use something similar:

    [alias]
        lt = log --graph --pretty=changes
    [pretty]
        changes = format:%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset
It's nice to be able to separate the format specifier from the alias itself. Makes the configuration a lot cleaner.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: