mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 12:55:47 +02:00
Update Config.md
This commit is contained in:
parent
de482262e1
commit
f9f7f74efb
1 changed files with 13 additions and 0 deletions
|
@ -318,3 +318,16 @@ Example:
|
||||||
pattern: "^\\w+\\/(\\w+-\\w+)"
|
pattern: "^\\w+\\/(\\w+-\\w+)"
|
||||||
replace: "[$1] "
|
replace: "[$1] "
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Custom git log command
|
||||||
|
|
||||||
|
You can override the `git log` command that's used to render the log of the selected branch like so:
|
||||||
|
|
||||||
|
```
|
||||||
|
git:
|
||||||
|
branchLogCmd: "git log --graph --color=always --abbrev-commit --decorate --date=relative --pretty=medium --oneline {{branchName}} --"
|
||||||
|
```
|
||||||
|
|
||||||
|
Result:
|
||||||
|
|
||||||
|

|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue