Metadata-Version: 2.4
Name: git-refs
Version: 1.2
Summary: list git references(branches, tags) on local and remote repositories
Home-page: https://github.com/weaming/git-refs
Author: weaming
Author-email: garden.yuen@gmail.com
Project-URL: Bug Reports, https://github.com/weaming/git-refs
Project-URL: Source, https://github.com/weaming/git-refs
Keywords: git,cli,develop
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: GitPython>=3.1
Dynamic: author
Dynamic: author-email
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: project-url
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# 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
