Skip to content

Instantly share code, notes, and snippets.

@thundergolfer
Last active May 5, 2018 03:37
Show Gist options
  • Select an option

  • Save thundergolfer/0d85ff337a2811b365ec8628a828ee10 to your computer and use it in GitHub Desktop.

Select an option

Save thundergolfer/0d85ff337a2811b365ec8628a828ee10 to your computer and use it in GitHub Desktop.
[user]
email = jonathon.bel.melbourne@gmail.com
name = Jonathon Belotti
[core]
editor = vim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore
[web]
browser = google-chrome
[rerere]
enabled = 1
autoupdate = 1
[push]
default = simple
[color]
ui = auto
[color "branch"]
current = yellow bold
local = green bold
remote = cyan bold
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
whitespace = red reverse
[color "status"]
added = yellow bold
changed = green bold
untracked = red bold
[diff]
tool = vimdiff
[difftool]
prompt = false
[github]
user = thundergolfer
token = token
[alias]
br = branch
brd = branch -d
brdd = branch -D
###############
ci = commit
ciam = commit --amend
###############
cl = clone
###############
cp = cherry-pick
###############
dc = diff --cached
###############
f = fetch
fo = fetch origin
fu = fetch upstream
###############
l = log --oneline
lg = log --oneline --graph --decorate
adog = log --all --decorate --oneline --graph
###############
ls = ls-files
lsf = !git ls-files | grep -i
###############
co = checkout
cob = checkout -b
###############
rbc = rebase --continue
rbi = rebase --interactive
rbs = rebase --skip
rba = rebase --abort
###############
st = status
stb = status -s -b
###############
behindinfront = rev-list --left-right --count
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment