Update git aliases

This commit is contained in:
Trevor Vallender 2023-05-16 20:50:20 +01:00
parent 4791ba6a48
commit 801275da2d
1 changed files with 6 additions and 5 deletions

View File

@ -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]