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:
parent
1bd8081663
commit
dde4e776f5
1
aliases
1
aliases
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user