;; to use these settings in your copy of git, save this file as ~/.githelper ;; and add this to your gitconfig: ;; [include] ;; path = ~/.githelper [init] ; it is ridiculous that this even has the potential to be needed defaultBranch = master [core] ; I know my line endings, damn it autocrlf = false ; if output fits on the screen, don't do silly things pager = less -F -X ; turn on color [color] diff = auto ui = auto status = auto branch = auto ; add a nicer looking logging thing ; shamelessly stolen from http://coderwall.com/p/euwpig [alias] lg = log --color --graph --pretty=tformat:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)%an%Creset %C(blue)<%ae>%Creset' --abbrev-commit cln = !git repack -Ad && git prune-packed && git prune