git aliases

main
Alpha Chen 2 years ago
parent 0e7bbed474
commit e9a944c8c6
No known key found for this signature in database

@ -13,13 +13,14 @@
standup = !git log --all --date=short --no-merges --pretty=format:\"%h %ad %s%d\" --since=1.weeks --author=`git config user.email` standup = !git log --all --date=short --no-merges --pretty=format:\"%h %ad %s%d\" --since=1.weeks --author=`git config user.email`
lol = log --graph --decorate --pretty=oneline --abbrev-commit lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
s = status -sb s = status --short --branch
latest = for-each-ref --count=20 --sort=-committerdate --format='%(committerdate:short) %(refname:short)' latest = for-each-ref --count=10 --sort=-committerdate --format='%(committerdate:relative) %(refname:short)'
root = !pwd root = !pwd
push-f = push --force-with-lease push-f = push --force-with-lease
stsh = stash --keep-index stsh = stash --keep-index --include-untracked
staash = stash --include-untracked staash = stash --include-untracked
fix = commit --amend --no-edit --no-reset-author ; fix = commit --amend --no-edit --no-reset-author
fix = commit --fixup @
ctags = !.git/hooks/ctags ctags = !.git/hooks/ctags
[difftool] [difftool]
prompt = false prompt = false

Loading…
Cancel
Save