git ls-remote

git-ls-remote

Name

git-ls-remote - List references in a remote repository

Synopsis

git ls-remote [--heads] [--tags] [--refs] [--upload-pack=<exec>]
              [-q | --quiet] [--exit-code] [--get-url]
              [--symref] [<repository> [<refs>…​]]

Description

Displays references available in a remote repository along with the associated commit IDs.

Options

-h
--heads
-t
--tags

Limit to only refs/heads and re