git show-ref
Git command for listing references.
- Show all refs in the repository:
git show-ref
- Show only heads references:
git show-ref --heads
- Show only tags references:
git show-ref --tags
- Verify that a given reference exists:
git show-ref --verify {path/to/ref}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).