mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 04:15:48 +02:00
Updated Custom Commands Compendium (markdown)
parent
697b7d76c9
commit
d2d538a4c2
1 changed files with 16 additions and 5 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue