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


Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.