Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 (5 months ago)
- Default Branch: main
- Last Pushed: 2024-07-14T09:31:57.000Z (4 months ago)
- Last Synced: 2024-08-17T08:05:13.013Z (3 months ago)
- Topics: gh-extension, git-describe
- Language: Go
- Homepage:
- Size: 36.1 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.
[![Go Reference](https://pkg.go.dev/badge/github.com/thombashi/gh-git-describe.svg)](https://pkg.go.dev/github.com/thombashi/gh-git-describe)
[![Go Report Card](https://goreportcard.com/badge/github.com/thombashi/gh-git-describe)](https://goreportcard.com/report/github.com/thombashi/gh-git-describe)
[![CI](https://github.com/thombashi/gh-git-describe/actions/workflows/ci.yaml/badge.svg)](https://github.com/thombashi/gh-git-describe/actions/workflows/ci.yaml)
[![CodeQL](https://github.com/thombashi/gh-git-describe/actions/workflows/github-code-scanning/codeql/badge.svg)](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
```