mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 15:46:26 -04:00
Updated Custom Commands Compendium (markdown)
parent
697b7d76c9
commit
d2d538a4c2
|
|
@ -78,9 +78,20 @@ customCommands:
|
|||
|
||||
```yml
|
||||
customCommands:
|
||||
- key: "<c-p>"
|
||||
command: "git remote prune {{.SelectedRemote.Name}}"
|
||||
context: "remotes"
|
||||
loadingText: "Pruning..."
|
||||
description: "prune deleted remote branches"
|
||||
- key: "<c-p>"
|
||||
command: "git remote prune {{.SelectedRemote.Name}}"
|
||||
context: "remotes"
|
||||
loadingText: "Pruning..."
|
||||
description: "prune deleted remote branches"
|
||||
```
|
||||
|
||||
## committing via Commitizen (git cz)
|
||||
|
||||
```yml
|
||||
customCommands:
|
||||
- key: "C"
|
||||
command: "git cz"
|
||||
context: "files"
|
||||
loadingText: "opening commitizen commit tool"
|
||||
subprocess: true
|
||||
```
|
||||
Loading…
Reference in a new issue