Skip to content

Commit

Permalink
chore: add example to README
Browse files Browse the repository at this point in the history
  • Loading branch information
smlx committed Feb 7, 2021
1 parent eccaea0 commit b353535
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README.md
Expand Up @@ -15,14 +15,17 @@ go get github.com/smlx/ccv

## Use it

```
# add an incremented tag if necessary
if [ -z $(git tag -l $(ccv)) ]; then
git tag $(ccv)
fi
```

`ccv` takes no arguments or options\*.

\* Yet!

```
git tag $(ccv)
```

## Prior art

* [caarlos0/svu](https://github.com/caarlos0/svu) does pretty much the same thing, but it has more features and shells out to git. `ccv` uses [go-git/go-git](https://github.com/go-git/go-git) instead.

0 comments on commit b353535

Please sign in to comment.