Permalink
Browse files

added personal gitconfig

  • Loading branch information...
kedlas committed May 14, 2017
1 parent 8a503c4 commit 730ea35353b9e7b9d9bc6c7ae45a93ed5a8d0d85
Showing with 20 additions and 0 deletions.
  1. +20 −0 .gitconfig
View
@@ -0,0 +1,20 @@
+[user]
+ name = Tomas Sedlacek
+ email = mail@kedlas.cz
+
+[alias]
+ st = status
+ ls = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate
+ ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat
+ lnc = log --pretty=format:"%h\\ %s\\ [%cn]"
+ lds = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=short
+ ld = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=relative
+ le = log --oneline --decorate
+ cm = commit
+ co = checkout
+ br = branch
+ diff = diff --word-diff
+ r = reset
+ r1 = reset HEAD^
+ r2 = reset HEAD^^
+ rh = reset --hard

0 comments on commit 730ea35

Please sign in to comment.