mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-03 00:57:52 +02:00
Update Config.md
This commit is contained in:
@ -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:
|
||||||
|
|
||||||
|

|
||||||
|
Reference in New Issue
Block a user