List all the branches of a GitHub repository

Get a list of all branches for a specific GitHub repository

Run this query

To run this query, you can use the following command:

anyquery run list_all_the_branches_of_a_github_repository

Arguments

Repository name (owner/repo format)

The repository to fetch branches from (owner/repo)

Additional informations

Source code Author

Tip

You can also run local queries using the anyquery run command. Just pass the path to the query file as an argument (e.g. anyquery run path/to/query.sql).