Advertisement
Guest User

Untitled

a guest
Jul 21st, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. [alias]
  2. smartlog = log --graph --pretty=format:'%C(dim white)(%h)%Creset %C(bold white)%s%Creset %C(bold magenta)%d%Creset%n %C(bold cyan)%an%Creset %C(blue)(%ae)%Creset %C(dim blue)%ci %Creset%n'
  3. sl = !git smartlog
  4.  
  5. // Set globally
  6.  
  7. $ git config --global alias.smartlog "log --graph --pretty=format:'%C(dim white)(%h)%Creset %C(bold white)%s%Creset %C(bold magenta)%d%Creset%n %C(bold cyan)%an%Creset %C(blue)(%ae)%Creset %C(dim blue)%ci %Creset%n'"
  8. $ git config --global alias.sl '!git smartlog'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement