Skip to content

Commit

Permalink
feat(git): use git log preview for interactive pruner
Browse files Browse the repository at this point in the history
  • Loading branch information
eliasnorrby committed Sep 16, 2024
1 parent af4fcb4 commit ab4c8c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/git/branch_pruner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ main() {

export list_cmd='git branch --format "%(refname:short)" | grep -vE "^local"'

list_branches | fzf --preview 'gh pr view {}' \
list_branches | fzf --preview 'git lg {}' \
--bind "ctrl-d:execute-silent(git branch -D {})+reload($list_cmd)"
}

Expand Down

0 comments on commit ab4c8c1

Please sign in to comment.