SbtGit
com.github.sbt.git.SbtGit
object SbtGit
This plugin has all the basic 'git' functionality for other plugins.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SbtGit.type
Members list
Type members
Classlikes
object GitCommand
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
GitCommand.type
Value members
Concrete methods
def buildSettings: Seq[Setting[_ >: Boolean & ReadableGit & Option[String] & (String => Option[String]) & Seq[String] & String & Task[GitRunner] & Option[ScmInfo] <: Boolean | ReadableGit | Option[String] | (String => Option[String]) | Seq[String] | String | Task[GitRunner] | Option[ScmInfo]]]
Adapts the project prompt to show the current project name and the current git branch.
Adapts the project prompt to show the current project name and the current git branch.
Attributes
A Predefined setting to use JGit runner for git.
A Predefined setting to use JGit runner for git.
Attributes
Setting to use console git for readable ops, to allow working with git worktrees
Setting to use console git for readable ops, to allow working with git worktrees
Attributes
Uses git to control versioning.
Uses git to control versioning.
Versioning runs through the following:
- Looks at version-property settings, and checks the sys.props to see if this has a value.
- Looks at the project tags. The first to match the
gitTagToVersionNumber
setting is used to assign the version. - if we have a head commit, we attach this to the base version setting "
. " - We append the current timestamp to the base version: "
. "
Attributes
Concrete fields
val projectSettings: Seq[Setting[_ >: Seq[Command] & (String => Option[String]) & Seq[String] & Option[String] <: Seq[Command] | (String => Option[String]) | Seq[String] | Option[String]]]
In this article