mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 12:55:47 +02:00
Updated Custom Commands Compendium (markdown)
parent
3f1ee97390
commit
21c91c14fd
1 changed files with 13 additions and 0 deletions
|
@ -11,3 +11,16 @@ customCommands:
|
||||||
context: 'global'
|
context: 'global'
|
||||||
loadingText: 'pushing'
|
loadingText: 'pushing'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Pushing to a specific remote branch
|
||||||
|
|
||||||
|
```
|
||||||
|
customCommands:
|
||||||
|
- key: '<c-p>'
|
||||||
|
context: 'global'
|
||||||
|
loadingText: 'pushing'
|
||||||
|
prompts:
|
||||||
|
- type: 'input'
|
||||||
|
title: 'which branch do you want to push to?'
|
||||||
|
command: "git push origin {{index .PromptResponses 0}}"
|
||||||
|
```
|
Loading…
Add table
Add a link
Reference in a new issue