summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-09-27 11:59:25 +1000
committerGitHub <noreply@github.com>2020-09-27 11:59:25 +1000
commitf9f7f74efb50f601f7b2e8b860faba21154a3b0f (patch)
tree8648c3cca6750f75216705af1db925750214cec9
parentde482262e12e989f3d4bede2057d2f0f2402e0ae (diff)
Update Config.md
-rw-r--r--docs/Config.md13
1 files changed, 13 insertions, 0 deletions
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)