1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

aliases: git: add gbrl branch-list with fzf alias

Very useful for previewing each branch in an interactive manner.

Signed-off-by: Joe Groocock <me@frebib.net>
This commit is contained in:
Joe Groocock 2021-07-31 00:06:05 +00:00
parent 1bd8081663
commit dde4e776f5
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -168,6 +168,7 @@ alias grst="git reset"
alias gundo="git reset --keep @~1"
alias gclean="git clean"
alias gbr="git branch"
alias gbrl="git for-each-ref --sort=committerdate refs/heads/ --format=\"%(refname:short)\" | fzf -x --ansi --multi --preview-window=right:70% --preview=\"git log --format=fuller --stat --color=always {} | head -n\$((\$(tput lines)*10))\""
alias gtg="git tag"
alias gbl="git blame"
alias gr="git remote"