Skip to content
Snippets Groups Projects

A better git log

  • Clone with SSH
  • Clone with HTTPS
  • Embed
  • Share
    The snippet can be accessed without any authentication.
    Authored by Pierre-Gilles LEVALLOIS

    Un alias pour avoir un git log plus lisible. https://coderwall.com/p/euwpig/a-better-git-log

    Edited
    git lg 167 B
    
    
    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"
    
    
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment