Alias tweaks
This commit is contained in:
42
gitconfig
42
gitconfig
@@ -28,45 +28,3 @@
|
||||
frag = magenta
|
||||
old = red
|
||||
new = green
|
||||
[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
|
||||
d = diff
|
||||
dc = diff --cached
|
||||
ds = diff --staged
|
||||
dw = diff --color-words
|
||||
ae = commit --amend
|
||||
aa = add --all
|
||||
head = !git l -1
|
||||
hp = "!source ~/.githelpers && show_git_head"
|
||||
re = remote
|
||||
ra = !git r --all
|
||||
ff = merge --ff-only
|
||||
pff = pull --ff-only
|
||||
noff = merge --no-ff
|
||||
theirs = merge -Xtheirs
|
||||
la = !git ll --all
|
||||
ll = "!source ~/.githelpers && pretty_git_log"
|
||||
div = divergence
|
||||
gn = goodness
|
||||
gnc = goodness --cached
|
||||
fa = fetch --all
|
||||
pom = push origin master
|
||||
ds = diff --stat=160,120
|
||||
dh1 = diff HEAD~1
|
||||
snapshot = !git stash save "snapshot: $(date)" && git stash apply "stash@{0}"
|
||||
ours = "!f() { git checkout --ours $@ && git add $@; }; f"
|
||||
theirs = "!f() { git checkout --theirs $@ && git add $@; }; f"
|
||||
|
||||
Reference in New Issue
Block a user