Skip to content

Instantly share code, notes, and snippets.

@robb-broome
Created March 17, 2017 19:40
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/7ba5840b8b10be646325813d1211d086 to your computer and use it in GitHub Desktop.
Save robb-broome/7ba5840b8b10be646325813d1211d086 to your computer and use it in GitHub Desktop.
[hub]
protocol = https
[user]
name = robb-broome
email = robb@teamvoice.com
[credential]
helper = osxkeychain
[alias]
cam = commit --amend --no-edit
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 -80 --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
lgg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
lf = log --name-status
lastedited = log --pretty=format: --name-only -n 1
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
tt = for-each-ref --sort=taggerdate --format '%(refname) %(taggerdate)' refs/tags
alias = ! git config --get-regexp ^alias\\. | sed -e s/^alias\\.// -e s/\\ /\\ =\\ /
[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