Duke's utils
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

96 lines
2.2 KiB

[user]
name = Jonathan "Duke" Leto
email = <jonathan@leto.net>
editor = vim
[alias]
cudgel = clean -fdx
co = checkout
praise = blame
up = !git stash && git pull --rebase origin master && git stash pop
sup = !git stash && git svn rebase && git stash pop
last = cat-file commit HEAD
v = !git --version
hist = log --pretty=format:'%C(yellow)%h%Creset %s %Cred%an%Creset %Cblue%d%Creset %Cgreen%cr%Creset %cd' --graph --all
h = log --pretty=format:'%C(yellow)%h%Creset %s %Cred%an%Creset %Cblue%d%Creset %Cgreen%cr%Creset %cd' --graph --all
lp = log -p
pick = cherry-pick
# this assumes that we want to push HEAD to a remote called origin (usually an upstream repo)
# as well as a remote called "leto" (usually my fork of something)
spread = !git push --tags origin HEAD && git push --tags leto HEAD
who = shortlog -se --
faster = repack -a -d -f --window=200 --window-memory=1g
detach = checkout @{0}
back = checkout -
flog = reflog
sha1 = rev-parse
pr = pull --rebase
f = fetch
r = remote
pus = push
pu = push
p = push
b = branch
s = status
wip = stash
c = commit
lazyrebase = !git stash && git pull --rebase && git stash pop
unmerged = branch --no-merged
[core]
excludesfile = ~/.gitignore
editor = vim
pager = less -FXRS
filemode = true
logallrefupdates = true
autocrlf = false
whitespace = trailing-space,space-before-tab,cr-at-eol
# enable if you are on NFS
#preloadindex = true
[log]
date = local
# This Does Bad Things
[apply]
# whitespace = strip
[diff]
rename = copy
[color]
ui = auto
diff = auto
branch = auto
status = auto
[color "diff"]
meta = yellow
frag = cyan
old = red bold
new = green bold
whitespace = red reverse
[color "status"]
added = yellow
changed = green
untracked = cyan
[push]
default = current
[rerere]
enabled = 1
[sendemail]
smtpserver = smtp.gmail.com
smtpuser = jaleto@gmail.com
smtpssl = true
[rebase]
stat = 1
[github]
user = leto