mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 12:25:47 +02:00
Updated Custom Commands Compendium (markdown)
parent
e16f4bdd11
commit
603ddedad7
1 changed files with 11 additions and 0 deletions
|
@ -85,6 +85,17 @@ customCommands:
|
|||
description: "prune deleted remote branches"
|
||||
```
|
||||
|
||||
## Pruning merged local branches
|
||||
|
||||
```yml
|
||||
customCommands:
|
||||
- key: "b"
|
||||
command: "git branch --merged master | grep -v '^[ *]*master$' | xargs git branch -d"
|
||||
context: "localBranches"
|
||||
loadingText: "Pruning..."
|
||||
description: "prune local branches that have been merged to master"
|
||||
```
|
||||
|
||||
## committing via Commitizen (git cz)
|
||||
|
||||
```yml
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue