mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 12:55:47 +02:00
Add correct indentation for easier copying into user configurations
parent
e67f2ffa2f
commit
fc3667b250
1 changed files with 16 additions and 16 deletions
|
@ -344,22 +344,22 @@ customCommands:
|
||||||
## Pull from specific remote
|
## Pull from specific remote
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
- key: '<c-p>'
|
- key: '<c-h>'
|
||||||
description: "Pull from a specific remote repository"
|
description: "Pull from a specific remote repository"
|
||||||
context: 'files'
|
context: 'files'
|
||||||
loadingText: 'Pulling ...'
|
loadingText: 'Pulling ...'
|
||||||
command: git pull {{ .Form.Remote }} {{ .Form.RemoteBranch }}
|
command: git pull {{ .Form.Remote }} {{ .Form.RemoteBranch }}
|
||||||
prompts:
|
prompts:
|
||||||
- type: 'input'
|
- type: 'input'
|
||||||
key: 'Remote'
|
key: 'Remote'
|
||||||
title: "Remote:"
|
title: "Remote:"
|
||||||
suggestions:
|
suggestions:
|
||||||
preset: 'remotes'
|
preset: 'remotes'
|
||||||
- type: 'input'
|
- type: 'input'
|
||||||
key: 'RemoteBranch'
|
key: 'RemoteBranch'
|
||||||
title: "Remote branch:"
|
title: "Remote branch:"
|
||||||
suggestions:
|
suggestions:
|
||||||
command: "git branch --remote --list '{{.Form.Remote}}/*' --format='%(refname:short)' | sed 's/{{.Form.Remote}}\\///'"
|
command: "git branch --remote --list '{{.Form.Remote}}/*' --format='%(refname:short)' | sed 's/{{.Form.Remote}}\\///'"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Conventional commit
|
## Conventional commit
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue