Skip to content

Instantly share code, notes, and snippets.

@jmeridth
Created August 19, 2010 13:21
Show Gist options
  • Save jmeridth/537855 to your computer and use it in GitHub Desktop.
Save jmeridth/537855 to your computer and use it in GitHub Desktop.
.gitconfig
[user]
name = armmer
email = um...no
[color]
branch = auto
diff = auto
status = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[core]
editor = vim
[alias]
ci = commit
co = checkout
pom = pull origin master
ru = remote update
staged = diff --cached
unstaged = diff
both = diff HEAD
oneline = log --pretty=oneline
ammend = commit --ammend
st = status
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
lstag = "!f() { for tag in $(git tag); do printf \"%10s\t\" $tag; git show $tag --pretty=format:\"commit: %C(yellow)%h %C(green) %C(green)%an [%cd] -- %s\" | grep commit; done; }; f"
find = grep -n -i
[auto]
crlf = true
[commit]
template = /Users/jmeridth/.gitmessage.txt
[achievement]
upload = true
[branch]
autosetuprebase = always
@jmeridth
Copy link
Author

the lstag alias is via my co-worker Matt Dietz (cerberus98)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment