Skip to content

Instantly share code, notes, and snippets.

@darrenboyd
Created August 30, 2010 17:51
Show Gist options
  • Save darrenboyd/557766 to your computer and use it in GitHub Desktop.
Save darrenboyd/557766 to your computer and use it in GitHub Desktop.
[user]
# email = ...
# name = ...
# [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
[alias]
co = checkout
st = status -sb
br = branch
ba = branch -a
up = pull --rebase
web = instaweb
lg = "log --pretty=\"format:%ar %Cgreen%an%Creset %Cblue%H%Creset%n %s%n\""
lg2 = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
out = log origin..HEAD
qpl = log --pretty=\"%Cblue%h%Creset %Cgreen[%cr]%Creset %s\" origin/production..origin/master
graph = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
[core]
editor = mate -w
[apply]
whitespace = fix
[branch]
autosetupmerge = always
[instaweb]
local = false
httpd = webrick
# port = 4321
# browser = konqueror
# modulepath = /usr/lib/apache2/modules
[github]
# user = ...
# token = ...
[push]
default = tracking
[color]
diff = auto
status = auto
branch = auto
[core]
excludesfile = ~/.gitignore
[format]
pretty = %Cblue%h%Creset %Cgreen[%cr]%Creset (%an) %s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment