Skip to content

Instantly share code, notes, and snippets.

@frankvilhelmsen
Last active August 29, 2015 14:02
Show Gist options
  • Save frankvilhelmsen/3fc7dd648b20b64cc6db to your computer and use it in GitHub Desktop.
Save frankvilhelmsen/3fc7dd648b20b64cc6db to your computer and use it in GitHub Desktop.
gitconfig
# $HOME/.gitconfig
[user]
name = Frank Vilhelmsen
email = fv at frankvilhelmsen.com
[github]
user = frankvilhelmsen
token = token
[color]
ui = true
[color "diff"]
meta = blue black bold
;[diff]
; external = bcompare
;[merge]
; tool = bcompare
;[mergetool "bcompare"]
; cmd = bcompare "$BASE" "$LOCAL" "$REMOTE" "$MERGED"
; trustExitCode = false
[alias]
st = status
ci = commit
br = branch
co = checkout
df = diff
lg = log -p
who = shortlog -s --
his = log --graph --all --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(bold white)— %an%C(reset)%C(bold yellow)%d%C(reset)' --abbrev-commit --date=relative
hist = log --graph --all --full-history --date-order
fea = log master.. --oneline
[core]
excludesfile = /Users/frank/.gitignore
editor = vim
[merge]
tool = opendiff
[branch]
autosetuprebase = always
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment