mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-02-01 13:17:53 +02:00
Update Config.md
This commit is contained in:
parent
de482262e1
commit
f9f7f74efb
@ -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:
|
||||||
|
|
||||||
|
![](https://i.imgur.com/Nibq35B.png)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user