From f9f7f74efb50f601f7b2e8b860faba21154a3b0f Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Sun, 27 Sep 2020 11:59:25 +1000 Subject: [PATCH] Update Config.md --- docs/Config.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/Config.md b/docs/Config.md index 4092326ff..f159de2eb 100644 --- a/docs/Config.md +++ b/docs/Config.md @@ -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)