From 22cc3a16a5dc2c3004c7cacbb02fcfe3aa5606fa Mon Sep 17 00:00:00 2001 From: Beatriz Vieira Date: Sat, 28 Aug 2021 14:53:14 -0300 Subject: [PATCH] docs: add go install on readme --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index eb1ba6f..2ef9984 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,12 @@ - Download the latest release and add the binary to your path. - Optional: Set `SV4GIT_HOME` to define user configs. Check the [Config](#config) topic for more information. +If you want to install from source using `go install`, just run: + +```bash +go install github.com/bvieira/sv4git/v2/cmd/git-sv@latest +``` + ### Config There are 3 config levels when using sv4git: [default](#default), [user](#user), [repository](#repository). All of them are merged considering the follow priority: **repository > user > default**.