Versioce.Git (Versioce v1.1.2) View Source
Git utility functions for versioce
module.
Link to this section Summary
Functions
Stage files.
Make a commit with a message.
Get a list of messages from hash1 to hash2 in %{hash: "Commmit hash", message: "Commit message"}
format
Get message of a commit by its hash.
Generate tag name according to Versioce.Config.Git.tag_template/0
.
Returns a list of tags in %{hash: "Commmit hash", tag: "Tag name"}
format
Get initial commit hash.
Get git repository.
Create a tag.
Link to this section Functions
Specs
Stage files.
Specs
Make a commit with a message.
Specs
get_commit_messages_in_range(String.t(), String.t()) :: [ %{hash: String.t(), message: String.t()} ]
Get a list of messages from hash1 to hash2 in %{hash: "Commmit hash", message: "Commit message"}
format
Specs
Get message of a commit by its hash.
Specs
Generate tag name according to Versioce.Config.Git.tag_template/0
.
Specs
Returns a list of tags in %{hash: "Commmit hash", tag: "Tag name"}
format
Specs
initial_commit() :: String.t()
Get initial commit hash.
Specs
repo() :: Git.Repository.t()
Get git repository.
Specs
Create a tag.