1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-12-04 16:51:31 +01:00
dotfiles/aliases/git.zsh

9 lines
422 B
Bash

# git: useful_stuff
alias git-sort-branches-by-date="git for-each-ref --sort=committerdate refs/heads/ --format='%(committerdate:short) %(refname:short)'"
alias gswr="git-switch-recent-branch" # defined in functions/git.zsh
alias gl5='git log -n 5'
alias gs='git status'
alias gcfx='git-fixup'
alias gls="git log --pretty=oneline --abbrev-commit" # gls: Git Log Short
alias glsu='git ls-files --others --exclude-standard'