Browse files

adding aliases for git

  • Loading branch information...
1 parent ba9d128 commit 587aa8adf6d6808bc42b12ab2d046c5fa11e1be6 paramita committed Jul 3, 2012
Showing with 26 additions and 0 deletions.
  1. +26 −0 gitconfig
View
26 gitconfig
@@ -2,3 +2,29 @@
default = tracking
[format]
pretty = %Cblue%h%Creset %Cgreen[%ar]%Creset (%an) %s
+[user]
+ name = paramita
+ email = pghosh@wgen.net
+[color]
+ status = auto
+ branch = auto
+ ui = true
+[alias]
+ us = reset HEAD
+ uc = reset --soft HEAD^
+ pl = smart-pull
+ ph = push
+ st = status -s
+ co = checkout
+ ci = commit
+ br = branch
+ df = diff
+ dc = diff --cached
+ aa = add -A
+ ai = add -i
+ lol = log --graph --decorate --pretty=oneline --abbrev-commit
+ lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
+ lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
+ rh = reset --hard
+ m = merge
+ cb = checkout -b

0 comments on commit 587aa8a

Please sign in to comment.