Skip to content

Commit

Permalink
Add config to README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
onilton authored Aug 5, 2019
1 parent 64c83ce commit b184d57
Showing 1 changed file with 50 additions and 2 deletions.
52 changes: 50 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,58 @@ Install with a single command:
```
sudo wget 'https://github.com/onilton/ogl/releases/download/v0.0.1/ogl' -O /usr/local/bin/ogl
```
## Config file

## Features
You can change some settings like colors in `~/.ogl`. An example config:

## Config file
```
####################
#Example Config
####################
# Seed is used to get a random color. We usually use the color from
# git log --graph itself but sometimes a color isn't provided so
# we need to choose a random color
#seed=3
# The graph/line style: "squared" "dual" "heavy" "default" (or "rounded")
style=rounded
# This fixes some column sizes.
#unlimited-fields=false
#subject.width=60
#author.width=15
#date.width=15
# Field colors
#subject.color=15
#author.color=66
#date.color=237
# Hide consecutive date and author
#hide-consecutive=true
# Align commit messages
#align-messages=false
# Number of columns to give up aligning commits
# When graph is too wide it can get hard to read commits
# even in pieces where it is not that wide yet
#max-align-messages=70
# Enable unicode icons for branch/ref names
#unicode-icons=true
# Personalize branch/ref icons
#icon.origin="🐱 "
#icon.tag="⚑ "
#icon.local="⌨ "
#icon.head="✓"
# Customize commit bullet
#icon.commit.bullet="◦"
#icon.commit.childless="◦"
```

## TO-DO

Expand Down

0 comments on commit b184d57

Please sign in to comment.