Skip to content

Instantly share code, notes, and snippets.

@robb-broome
Created November 7, 2014 17:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robb-broome/50f3ecf7a4d3f0bd9cb4 to your computer and use it in GitHub Desktop.
Save robb-broome/50f3ecf7a4d3f0bd9cb4 to your computer and use it in GitHub Desktop.
[hub]
protocol = https
[user]
name = robb-broome
email = robb@teamvoice.com
[credential]
helper = osxkeychain
[alias]
promote = !$ZSH/bin/git-promote
count = !git shortlog -sn
co = checkout
st = status
di = diff
dc = diff --cached
amend = commit --amend
aa = add --all
head = !git l -1
h = !git head
r = !git l -20
ra = !git r --all
ff = merge --ff-only
pullff = pull --ff-only
noff = merge --no-ff
l = "!source ~/.githelpers && pretty_git_log"
la = !git l --all
div = divergence
gn = goodness
gnc = goodness --cached
fa = fetch --all
pom = push origin master
b = branch
ds = diff --stat=160,120
dh1 = diff HEAD~1
lg = log -40 --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
up = !sh -c \"git pull && git submodule init && git submodule update\"
gpr = pull --rebase
[color]
diff = auto
status = auto
branch = auto
ui = true
[core]
excludesfile = ~/.gitignore
editor = vim
[apply]
whitespace = nowarn
[mergetool]
keepBackup = false
[difftool]
prompt = false
[help]
autocorrect = 1
[push]
# See `git help config` (search for push.default)
# for more information on different options of the below setting.
#
# Setting to git 2.0 default to surpress warning message
default = current
[github]
user = robb-broome
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment