List local refs and object IDs.
Section: Refs and Symbolic Refs
List refs
bash
bash
git show-refLearn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Refs and Symbolic Refs