GIT - Log Format customized

    0

    0

    Daniel Carretero

    GIT

    In this code, the date is in the format "yyyy-mm-dd HH:MM:SS", the time is in the format "HH:MM:SS", the commit is in the format "yyyy-mm-dd <commit-hash>", and the title is in the format " <title> ".

    git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.