Updated Custom Commands Compendium (markdown)

NikolayHD 2022-03-21 14:25:02 +03:00
parent f942b89876
commit 7c05918a64

@ -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`
```