1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-01-20 05:19:24 +02:00

Update Config.md

This commit is contained in:
Jesse Duffield 2020-09-27 11:59:25 +10:00 committed by GitHub
parent de482262e1
commit f9f7f74efb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -318,3 +318,16 @@ Example:
pattern: "^\\w+\\/(\\w+-\\w+)"
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)