Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 29 days ago
JSON representation

gh extension to execute `git describe` on a remote GitHub repository.

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
```