Skip to content

Instantly share code, notes, and snippets.

@shaunfink
Last active September 29, 2019 11:13
Show Gist options
  • Save shaunfink/e35bc59fe4a42f872a5eb67a535d4c5b to your computer and use it in GitHub Desktop.
Save shaunfink/e35bc59fe4a42f872a5eb67a535d4c5b to your computer and use it in GitHub Desktop.
[credential]
helper = osxkeychain
[alias]
reboot = reset --hard
unstage = reset HEAD --
last = log -1 HEAD
new = checkout -b
st = status
co = checkout
ci = commit
rb = rebase
br = branch
df = difftool
lg = log --graph --pretty=format:'%C(green)%h%Creset -%C(yellow)%d%Creset %s %C(bold green)(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
gl = log --graph --pretty=format:'%C(green)%h%Creset -%C(yellow)%d%Creset %s %C(bold green)(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
stash-unapply = !git stash show -p | git apply -R
cl = clone
p = push
[log]
decorate = short
[color]
ui = auto
[pager]
status = true
show-branch = true
[push]
default = simple
[diff]
tool = vimdiff
[core]
excludesfile = /Users/shaun/.gitignore
filemode = false
[merge]
tool = vimdiff
[stash]
showPatch = true
[rebase]
autostash = true
[color "status"]
added = green
changed = yellow bold
untracked = red bold
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment