https://github.com/thombashi/gh-git-describe
gh extension to execute `git describe` on a remote GitHub repository.
https://github.com/thombashi/gh-git-describe
gh-extension git-describe
Last synced: about 1 month ago
JSON representation
gh extension to execute `git describe` on a remote GitHub repository.
- Host: GitHub
- URL: https://github.com/thombashi/gh-git-describe
- Owner: thombashi
- License: mit
- Created: 2024-06-23T13:12:22.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-16T09:51:35.000Z (9 months ago)
- Last Synced: 2025-03-03T09:14:16.656Z (9 months ago)
- Topics: gh-extension, git-describe
- Language: Go
- Homepage:
- Size: 43.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gh-git-describe
`gh` extension to execute `git describe` on a remote GitHub repository.
[](https://pkg.go.dev/github.com/thombashi/gh-git-describe)
[](https://goreportcard.com/report/github.com/thombashi/gh-git-describe)
[](https://github.com/thombashi/gh-git-describe/actions/workflows/ci.yaml)
[](https://github.com/thombashi/gh-git-describe/actions/workflows/github-code-scanning/codeql)
## Installation
```console
gh extension install thombashi/gh-git-describe
```
## Upgrade
```console
gh extension upgrade git-describe
```
## Usage
### Command help
```
--cache-dir string cache directory path. If not specified, use the system's temporary directory.
--log-level string log level (debug, info, warn, error) (default "info")
--no-cache disable cache
-R, --repo string GitHub repository ID. If not specified, use the current repository.
```
### Examples
```console
$ gh git-describe -R actions/checkout -- --tags a5ac7e51b41094c92402da3b24376905380afc29
v4.1.6
$ gh git-describe -R actions/checkout -- --tags b80ff79f1755d06ba70441c368a6fe801f5f3a62
v4.1.6-2-gb80ff79
```