alkaa/roles/git/files/lazygit.yml
2023-02-07 16:51:43 +01:00

18 lines
503 B
YAML

git:
paging:
colorArg: always
pager: delta --paging=never
customCommands:
- key: "<c-p>"
command: "git remote prune {{.SelectedRemote.Name}}"
context: "remotes"
loadingText: "Pruning..."
description: "prune deleted remote branches"
- key: "<c-p>"
command: "git branch --merged develop | grep -v '^[ *]*develop$' | xargs git branch -d"
context: "localBranches"
loadingText: "Pruning..."
description: "prune local branches that have been merged to develop"