diff --git a/.config/zsh/alias/git.zsh b/.config/zsh/alias/git.zsh index 04ef040..e33a305 100644 --- a/.config/zsh/alias/git.zsh +++ b/.config/zsh/alias/git.zsh @@ -6,6 +6,7 @@ alias gds='git diff -p --stat=200 ' alias gdu='git-dir-usage ' alias ggc='git-gc ' alias ggcf='git-gc-force ' +alias gst='git status -s ' git-dir-usage() { local gitdir x topdir @@ -73,3 +74,7 @@ git-archive-ref() { git-br() { __z_git -c core.pager='cat' branch --no-abbrev "$@" } + +git-rebase-log() { + git log --format='pick %h # %s' --reverse "$@" +}