Aliases
This commit is contained in:
parent
55c205dfd4
commit
72db0d5901
23
.gitconfig
23
.gitconfig
|
@ -58,23 +58,32 @@
|
||||||
wip = !git work-in-progress
|
wip = !git work-in-progress
|
||||||
|
|
||||||
# Shorterned existing commands.
|
# Shorterned existing commands.
|
||||||
aa = add --all
|
a = add
|
||||||
|
aa = add --all --intent-to-add
|
||||||
ap = add --patch
|
ap = add --patch
|
||||||
b = branch -v
|
au = add -u
|
||||||
bv = branch -vv
|
b = branch
|
||||||
bd = branch -d
|
bd = branch --delete
|
||||||
c = commit -v
|
c = commit -v
|
||||||
ca = commit --amend
|
ca = commit --amend
|
||||||
caa = commit --amend -C HEAD
|
caa = commit --amend -C HEAD
|
||||||
cl = clone --recursive
|
cl = clone --recursive
|
||||||
co = checkout
|
co = checkout
|
||||||
cop = checkout -p
|
cop = checkout -p
|
||||||
f = fetch
|
d = diff
|
||||||
fa = fetch --all
|
f = fetch --all
|
||||||
g = grep --break --heading --line-number
|
g = grep --break --heading
|
||||||
l = !git log --oneline --graph --decorate -20 || true
|
l = !git log --oneline --graph --decorate -20 || true
|
||||||
|
m = merge --ff-only
|
||||||
nb = !git create-new-branch
|
nb = !git create-new-branch
|
||||||
|
p = push
|
||||||
|
rb = rebase
|
||||||
|
rba = rebase --abort
|
||||||
|
rbc = rebase --continue
|
||||||
|
rbi = rebase --interactive
|
||||||
s = status --short --branch
|
s = status --short --branch
|
||||||
|
sb = show-branch -a
|
||||||
|
dt = diftool
|
||||||
|
|
||||||
[branch]
|
[branch]
|
||||||
autosetupmerge = true
|
autosetupmerge = true
|
||||||
|
|
Loading…
Reference in a new issue