mirror of
https://github.com/starship/starship.git
synced 2026-06-23 02:05:51 +07:00
docs(config): clarify git-commit tag variable (#4729)
The `git_commit` module uses a `tag` variable in its format string, which is not explained in the Variables section of this module. Missing clarification of this `tag` variable is added to the documentation of the `git_commit` module. Fixes starship/4640
This commit is contained in:
@@ -1641,10 +1641,11 @@ The `git_commit` module shows the current commit hash and also the tag (if any)
|
|||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
| Variable | Example | Description |
|
| Variable | Example | Description |
|
||||||
| -------- | --------- | ----------------------------------- |
|
| -------- | --------- | -------------------------------------------- |
|
||||||
| hash | `b703eb3` | The current git commit hash |
|
| hash | `b703eb3` | The current git commit hash |
|
||||||
| style\* | | Mirrors the value of option `style` |
|
| tag | `v1.0.0` | The tag name if showing tag info is enabled. |
|
||||||
|
| style\* | | Mirrors the value of option `style` |
|
||||||
|
|
||||||
*: This variable can only be used as a part of a style string
|
*: This variable can only be used as a part of a style string
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user