0
0
mirror of https://github.com/thegeeklab/git-sv.git synced 2024-11-21 12:00:40 +00:00

docs: add go install on readme

This commit is contained in:
Beatriz Vieira 2021-08-28 14:53:14 -03:00
parent 02d5e658ab
commit 22cc3a16a5

View File

@ -22,6 +22,12 @@
- Download the latest release and add the binary to your path. - 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. - 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 ### 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**. 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**.