git refs
list git references(branches, tags) on local and remote repositories.
Install
pip3 install -U git-refs
Example
$ git-refs
local branch master 5a4344acd93627b7e20d5c86aa18a587c90a17d9 -> origin/master
remote reference master 5a4344acd93627b7e20d5c86aa18a587c90a17d9 origin
CSV output format
$ CSV=1 git-refs
where,type,name,sha,remote
local,branch,master,5a4344acd93627b7e20d5c86aa18a587c90a17d9,origin/master
remote,reference,master,5a4344acd93627b7e20d5c86aa18a587c90a17d9,origin
You can use printable to view csv in terminal:
CSV=1 git-refs | printable -t csv -f /dev/stdin
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.2.tar.gz
(2.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file git_refs-1.2.tar.gz.
File metadata
- Download URL: git_refs-1.2.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f8fd76db84893e6a1efd4b6a7f9d30bc118c8cff3db12a8a3306a68479086d9
|
|
| MD5 |
4191123783b54c880da5a3ed1329e743
|
|
| BLAKE2b-256 |
8b52abf5d75006e5ba817562e53c6505352593ac24ff53220b92e957445ea9fd
|
File details
Details for the file git_refs-1.2-py3-none-any.whl.
File metadata
- Download URL: git_refs-1.2-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8cf4229a835b5d6afc9851a0d1917be950ed64721bebb448c3c6135feb3be7a6
|
|
| MD5 |
4363369cbe12597f19d6fffc72458c16
|
|
| BLAKE2b-256 |
13c4245284632b9628c05ad4f81861fa2eddad33d5341ff7dc3e49df2c5c188e
|