Update git aliases
This commit is contained in:
parent
4791ba6a48
commit
801275da2d
|
@ -15,16 +15,17 @@
|
|||
aa = add -A
|
||||
ap = add --patch
|
||||
aap = !git add --intent-to-add . && git add --patch
|
||||
br = branch
|
||||
co = checkout
|
||||
cm = commit
|
||||
st = status
|
||||
br = branch
|
||||
cma = commit --amend
|
||||
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
|
||||
type = cat-file -t
|
||||
dump = cat-file -p
|
||||
last = log -1 HEAD
|
||||
unstage = restore --staged
|
||||
pf = push --force
|
||||
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
|
||||
undo-commit = reset --soft HEAD~
|
||||
[init]
|
||||
|
|
Loading…
Reference in New Issue