Skip to content
Knowledge Base

Git Command

To list all references

Updated 1 min readGit

To list all references

bash
git show-ref
yaml
heads: refers to an object locally,
remotes: refers to an object which exists in a remote repository,
stash: refers to an object not yet committed,
meta: e.g., a configuration in a bare repository, user rights; the refs/meta/config namespace was introduced retrospectively, gets used by Gerrit,[77]
tags:  Like branch references, but fixed to a particular commit. Used to label important points in history.
git/git-command.md