zero-deps / sbt-git   2.5.4.g35fec15

MIT License GitHub

Use git-describe as a version and run git commands inside SBT shell

Scala versions: 2.12
sbt plugins: 1.x

sbt-git

Production Ready

Use git-describe as a version and run git commands inside SBT shell.

// project/plugins.sbt:
addSbtPlugin("io.github.zero-deps" % "sbt-git" % "latest.integration")

// build.sbt:
version := zero.git.version() /* git-describe */

// run git commands inside sbt shell
sbt> git status // can be shorted
sbt> git add [<pathspec>…]...
sbt> git commit -m <msg>
sbt> git help