Add correct indentation for easier copying into user configurations

David Chocholatý 2024-04-30 14:02:21 +00:00
parent e67f2ffa2f
commit fc3667b250

@ -344,22 +344,22 @@ customCommands:
## Pull from specific remote
```yml
- key: '<c-p>'
description: "Pull from a specific remote repository"
context: 'files'
loadingText: 'Pulling ...'
command: git pull {{ .Form.Remote }} {{ .Form.RemoteBranch }}
prompts:
- type: 'input'
key: 'Remote'
title: "Remote:"
suggestions:
preset: 'remotes'
- type: 'input'
key: 'RemoteBranch'
title: "Remote branch:"
suggestions:
command: "git branch --remote --list '{{.Form.Remote}}/*' --format='%(refname:short)' | sed 's/{{.Form.Remote}}\\///'"
- key: '<c-h>'
description: "Pull from a specific remote repository"
context: 'files'
loadingText: 'Pulling ...'
command: git pull {{ .Form.Remote }} {{ .Form.RemoteBranch }}
prompts:
- type: 'input'
key: 'Remote'
title: "Remote:"
suggestions:
preset: 'remotes'
- type: 'input'
key: 'RemoteBranch'
title: "Remote branch:"
suggestions:
command: "git branch --remote --list '{{.Form.Remote}}/*' --format='%(refname:short)' | sed 's/{{.Form.Remote}}\\///'"
```
## Conventional commit