1
0
mirror of synced 2026-01-04 09:06:46 -05:00
Files
docs/data/reusables/cli/cli-repo.md
Sarah Edwards d53e41a61c [Apr 14] cli for actions (#18683)
Co-authored-by: Martin Lopes <martin389@github.com>
2021-04-14 21:38:55 +00:00

791 B

{% data variables.product.prodname_cli %} commands must be run within the repository that you want to interact with, so you must first navigate to the directory containing the local copy of your repository. Alternatively, you can specify a repository by passing {% if enterpriseServerVersions contains currentVersion or currentVersion == "github-ae@latest" %}-R HOSTNAME/OWNER/REPOSITORY or --repo HOSTNAME/OWNER/REPOSITORY{% else %}-R OWNER/REPOSITORY or --repo OWNER/REPOSITORY{% endif %}. {% if enterpriseServerVersions contains currentVersion or currentVersion == "github-ae@latest" %}Replace HOSTNAME with the name of {% data variables.product.product_location %}. {% endif %}Replace OWNER with owner of the repository. Replace REPOSITORY with the name of the repository.