Skip to content

Instantly share code, notes, and snippets.

@cp16net
Created May 7, 2013 04:45
Show Gist options
  • Save cp16net/5530306 to your computer and use it in GitHub Desktop.
Save cp16net/5530306 to your computer and use it in GitHub Desktop.
My personal .gitconfig
[user]
name = Craig Vyvial
email = cp16net@gmail.com
[color]
ui = true
branch = auto
diff = auto
interactive = auto
status = auto
# common alias
[alias]
s = status -s -b -uno
st = status
br = branch
ba = branch -a -v -v
co = checkout
# exotic alias
[alias]
# when was this file last updated, on each local branch
wwflu = "!f() { for b in $(git rev-parse --symbolic --branches); do echo -e `git log --format=%at:%ar -1 $b -- \"$1\"`\\\\t$b; done | sort -r |cut -f2 -d: ; }; f"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment