Add more git aliases

This commit is contained in:
2013-04-04 14:37:38 -04:00
parent 17b7c8406d
commit 840caf63d5
2 changed files with 23 additions and 12 deletions

View File

@@ -5,31 +5,39 @@
[color]
ui = auto
[alias]
b = branch
h = !git head
l = !git ll -25
p = push
r = reset
s = stash
x = reset --hard
sl = stash list
sp = stash pop
sd = stash drop
sa = stash apply
st = status
ci = commit
cp = cherry-pick
co = checkout
di = diff
dc = diff --cached
di = diff
amend = commit --amend
aa = add --all
head = !git l -1
h = !git head
hp = "!source ~/.githelpers && show_git_head"
r = !git l -20
re = remote
ra = !git r --all
ff = merge --ff-only
pff = pull --ff-only
noff = merge --no-ff
l = "!source ~/.githelpers && pretty_git_log"
la = !git l --all
la = !git ll --all
ll = "!source ~/.githelpers && pretty_git_log"
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
@@ -37,3 +45,5 @@
tool = vimdiff
[core]
editor = /usr/bin/vim
[push]
default = simple