Posted By

rm1984 on 06/30/16


Tagged

view Shell Bash log sh repository git Colored


Versions (?)

Show a colored and meaningful view of a GIT repository in the shell


 / Published in: Bash
 

Show a colored and meaningful view of a GIT repository in the shell

  1. git log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
  2.  
  3. git log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
  4.  
  5. git log --graph --abbrev-commit --decorate --date=relative --all

Report this snippet  

You need to login to post a comment.