Skip to content

Instantly share code, notes, and snippets.

@benmj
Created November 30, 2015 23:29
Show Gist options
  • Save benmj/880206e713393a6dd470 to your computer and use it in GitHub Desktop.
Save benmj/880206e713393a6dd470 to your computer and use it in GitHub Desktop.
Git configuration with useful aliases
$ cat ~/.gitconfig
[gui]
recentrepo = C:/buildium/src/buildiumcode
[user]
email = ben.jacobs@buildium.com
name = Ben Jacobs
[core]
editor = vim
autocrlf = false
[push]
default = simple
[merge]
tool = vimdiff2
[alias]
recent = for-each-ref --sort='-authordate:iso8601' --format=' %(authordate:relative)%09%(refname:short)' refs/heads
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment