Permalink
Browse files

New git aliases

  • Loading branch information...
1 parent 0904d0c commit d93b36fc714c666256fc544072f66caee2758be6 @andersonfreitas committed May 21, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 gitconfig
View
@@ -41,6 +41,10 @@
unstage = reset HEAD
staged = diff HEAD
l = "!source ~/.dotfiles/githelpers && pretty_git_log"
+ branch-by-date = for-each-ref --sort=-committerdate --format='%(committerdate:iso8601) %(committerdate:relative) %(refname:short)' refs/heads/
+ ;git for-each-ref --sort=-committerdate --format="%1B[32m%(committerdate:iso8601) %1B[34m%(committerdate:relative) %1B[0;m%(refname:short)" refs/heads/
+ show-last-commit = diff HEAD~1..HEAD
+
[push]
default = current
[help]

0 comments on commit d93b36f

Please sign in to comment.