Permalink
Browse files

Git snippets

  • Loading branch information...
1 parent 15e325e commit e8e21803ef6aeea2c5c42c1e7f13ac143ca45516 @mgalardini mgalardini committed Mar 6, 2014
Showing with 4 additions and 0 deletions.
  1. +4 −0 git.sh
View
4 git.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+# A better "git log" (credits: https://coderwall.com/p/euwpig)
+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 comments on commit e8e2180

Please sign in to comment.