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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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