Skip to content

Instantly share code, notes, and snippets.

@bfabry
Created December 21, 2018 04:27
Show Gist options
  • Save bfabry/d6edddb3ded53f1e6f3b418367d65696 to your computer and use it in GitHub Desktop.
Save bfabry/d6edddb3ded53f1e6f3b418367d65696 to your computer and use it in GitHub Desktop.
bfabry@18723-bfabry ~/C/z/zcfn> cat ~/.gitconfig
[credential]
[core]
excludesfile = ~/.gitignore
editor = vim
[hub]
protocol = https
[user]
name = Beau Fabry
email = bfabry@zendesk.com
[push]
default = current
[branch]
autosetuprebase = always
[github]
user = bfabry
[rebase]
autoStash = true
[alias]
m = origin/master
[rerere]
enabled = true
[color]
ui = true
[alias]
a = add
c = commit
p = commit -p
b = branch --sort=committerdate
s = status
l = log -16 --color=always --all --topo-order --pretty='format:%Cgreen%h%Creset %s%Cred%d%Creset %C(black bold)(by %an)%Creset'
lg = log -16 --color=always --all --topo-order --pretty='format:%Cgreen%h%Creset %s%Cred%d%Creset %C(black bold)(by %an)%Creset' --graph
llg = log --color=always --all --topo-order --pretty='format:%Cgreen%h%Creset %s%Cred%d%Creset %C(black bold)(by %an)%Creset' --graph --pretty
push-force = push --force-with-lease
rebase-me = !git rebase -i `git merge-base $(git rev-parse --abbrev-ref HEAD) master`
co = checkout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment