Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 390 Bytes

list-repositories-in-github.md

File metadata and controls

19 lines (12 loc) · 390 Bytes

How to list repositories in GitHub

Overview

Get a list of repositories for a GitHub account.

Instructions

  1. ✏️ Set environment variables. Example:

    export GIT_ACCOUNT=senzing
  2. Fetch repositories. Example:

    curl -s https://api.github.com/orgs/${GIT_ACCOUNT}/repos?per_page=9999 | jq --raw-output '.[]|.full_name'