Update git aliases
This commit is contained in:
parent
4791ba6a48
commit
801275da2d
|
@ -15,16 +15,17 @@
|
||||||
aa = add -A
|
aa = add -A
|
||||||
ap = add --patch
|
ap = add --patch
|
||||||
aap = !git add --intent-to-add . && git add --patch
|
aap = !git add --intent-to-add . && git add --patch
|
||||||
|
br = branch
|
||||||
co = checkout
|
co = checkout
|
||||||
cm = commit
|
cm = commit
|
||||||
st = status
|
cma = commit --amend
|
||||||
br = branch
|
|
||||||
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
|
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
|
||||||
type = cat-file -t
|
|
||||||
dump = cat-file -p
|
|
||||||
last = log -1 HEAD
|
last = log -1 HEAD
|
||||||
unstage = restore --staged
|
pf = push --force
|
||||||
pushup = !git push -u origin $(git symbolic-ref --short HEAD)
|
pushup = !git push -u origin $(git symbolic-ref --short HEAD)
|
||||||
|
rbd = rebase develop
|
||||||
|
rbi = rebase -i # Useful for squashing commits
|
||||||
|
st = status
|
||||||
tree = log --oneline --graph --decorate --all
|
tree = log --oneline --graph --decorate --all
|
||||||
undo-commit = reset --soft HEAD~
|
undo-commit = reset --soft HEAD~
|
||||||
[init]
|
[init]
|
||||||
|
|
Loading…
Reference in New Issue