Skip to content

Instantly share code, notes, and snippets.

@Haraldson
Created July 9, 2012 12:38
Show Gist options
  • Save Haraldson/3076237 to your computer and use it in GitHub Desktop.
Save Haraldson/3076237 to your computer and use it in GitHub Desktop.
Git configuration
[alias]
st = status
br = branch
ci = commit --no-verify
out = push
in = pull --summary
type = cat-file -t
dump = cat-file -p
hi = log --pretty=format:'%h | %ad | %s%d [%an]' --date=short
hime = log --pretty=format:'%h | %ad | %s' --date=short --author=username
hime7 = log --pretty=format:'%h | %ad | %s' --date=short --author=username --since='7 days ago'
praise = blame
[core]
excludesfile = /users/username/.gitignore
[color]
ui = 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
[user]
name = Your Full Name
email = [email protected]
[push]
default = current
[merge]
conflictstyle = diff3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment