Permalink
Browse files

Finally add some git aliases. Must be getting lazy

  • Loading branch information...
1 parent 54c914a commit e7746ff2891dc172cbf729da2a95be3f764d921f jamesmartin committed Mar 1, 2011
Showing with 9 additions and 0 deletions.
  1. +9 −0 gitconfig.erb
View
@@ -1,3 +1,12 @@
+[alias]
+ co = checkout
+ ci = commit
+ st = status
+ br = branch
+ hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
+ type = cat-file -t
+ dump = cat-file -p
+
[user]
name = <%= print("Your Name: "); STDOUT.flush; STDIN.gets.chomp %>
email = <%= print("Your Email: "); STDOUT.flush; STDIN.gets.chomp %>

0 comments on commit e7746ff

Please sign in to comment.