mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 12:25:47 +02:00
Updated Custom Commands Compendium (markdown)
parent
f942b89876
commit
7c05918a64
1 changed files with 7 additions and 7 deletions
|
@ -122,6 +122,12 @@ customCommands:
|
|||
labelFormat: '{{ .commit_id | green | bold }} - {{ .commit_msg | yellow }}'
|
||||
```
|
||||
|
||||
Example Usage on lazygit repo:
|
||||
- Search word: `lazygit`
|
||||
- Subtree/File: `**/commits.go`
|
||||
- Ref: `master`
|
||||
Note also that color functions are supported in `labelFormat`
|
||||
|
||||
## Fetch a remote branch as a new local branch
|
||||
|
||||
```yml
|
||||
|
@ -218,10 +224,4 @@ customCommands:
|
|||
context: remoteBranches
|
||||
description: tig branch (`t` again to browse files at revision)
|
||||
subprocess: yes
|
||||
```
|
||||
|
||||
Example Usage on lazygit repo:
|
||||
- Search word: `lazygit`
|
||||
- Subtree/File: `**/commits.go`
|
||||
- Ref: `master`
|
||||
Note also that color functions are supported in `labelFormat`
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue