Updated Custom Commands Compendium (markdown)

Jesse Duffield 2020-09-27 11:10:11 +10:00
parent 3f1ee97390
commit 21c91c14fd

@ -10,4 +10,17 @@ customCommands:
command: "git push origin HEAD:refs/for/{{.CheckedOutBranch.Name}}"
context: 'global'
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}}"
```