Skip to main content

list git references(branches, tags) on local and remote repositories

Project description

# git refs

list git references(branches, tags) on local and remote repositories.

## Install

pip3 install -U git-refs

## Example

`bash $ git-refs local branch master 5a4344acd93627b7e20d5c86aa18a587c90a17d9 -> origin/master remote reference master 5a4344acd93627b7e20d5c86aa18a587c90a17d9 origin `

### CSV output format

`bash $ CSV=1 git-refs where,type,name,sha,remote local,branch,master,5a4344acd93627b7e20d5c86aa18a587c90a17d9,origin/master remote,reference,master,5a4344acd93627b7e20d5c86aa18a587c90a17d9,origin `

You can use [printable](https://github.com/weaming/printable) to view csv in terminal:

CSV=1 git-refs | printable -t csv -f /dev/stdin

Project details


Release history Release notifications | RSS feed

This version

1.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

git-refs-1.1.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

git_refs-1.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file git-refs-1.1.tar.gz.

File metadata

  • Download URL: git-refs-1.1.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.0

File hashes

Hashes for git-refs-1.1.tar.gz
Algorithm Hash digest
SHA256 f11c059a21b67c1fd9953dfd6705cef290c211a7ab68790093e22acc9bb4a3b9
MD5 23c68150ad02395ba23de45d638c71c7
BLAKE2b-256 30a42515723a08e1a14a941840fec3620290358389a5446393e5d321c1ed1c1a

See more details on using hashes here.

File details

Details for the file git_refs-1.1-py3-none-any.whl.

File metadata

  • Download URL: git_refs-1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.0

File hashes

Hashes for git_refs-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 09eb0ecbbe65fda1e7049082ffa9afb955570c86db85e294427ca830a9c0aada
MD5 8049e84e8f9909fec70a5dec0f841198
BLAKE2b-256 be3f7e52885a0bb5b3b89f851170500e15dfdc1d0324d5639e9f6b11eb28762c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page