Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repo sync #30382

Merged
merged 3 commits into from
Dec 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ redirect_from:
- /enterprise/admin/configuration/configuring-applications
- /admin/configuration/configuring-applications
- /admin/configuration/configuring-your-enterprise/configuring-applications
- /admin/configuration/configuring-user-applications-for-your-enterprise/configuring-interactive-maps
versions:
ghes: '*'
type: how_to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ type: how_to
topics:
- Enterprise
- Repositories
shortTitle: Access user-owned repos
shortTitle: Access user-owned repositories
redirect_from:
- /admin/user-management/managing-repositories-in-your-enterprise/accessing-user-owned-repositories-in-your-enterprise
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ type: how_to
topics:
- Enterprise
- Repositories
shortTitle: View user-owned repos
shortTitle: View user-owned repositories
redirect_from:
- /admin/user-management/managing-repositories-in-your-enterprise/viewing-user-owned-repositories-in-your-enterprise
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,8 @@ In addition to reviewing your system logs, you can monitor activity on your inst
- [Log files for the {% data variables.product.prodname_dotcom %} application](#log-files-for-the-github-application)
- [Log files for the HTTP server](#log-files-for-the-http-server)
- [Log files for instance configuration](#log-files-for-instance-configuration)
- [Log files for the {% data variables.enterprise.management_console %}](#log-files-for-themanagement-console)
- [Log files for the {% data variables.enterprise.management_console %}](#log-files-for-the-management-console)
- [Log files for search](#log-files-for-search)
- [Log files for storage](#log-files-for-storage)
- [Log files for webhooks](#log-files-for-webhooks)
- [Log files for system services](#log-files-for-system-services)

{% ifversion ghes < 3.9 %}
Expand Down Expand Up @@ -117,7 +115,10 @@ The following log files contain events related to the configuration of your inst

| Path | Description |
| :- | :- |
| <pre>/data/user/common/ghe-config.log</pre> | Records events associated with each configuration run. If a configuration run fails, output to the log stops. This log also records information about migrations that run during the process of upgrading an instance's software. For more information, see "[AUTOTITLE](/admin/configuration/configuring-your-enterprise/command-line-utilities#ghe-config-apply)." |
| <pre>/data/user/common/ghe-config.log</pre> | Records events associated with {% ifversion unique-config-run-logs %}the latest{% else %}each{% endif %} configuration run. If a configuration run fails, output to the log stops. This log also records information about migrations that run during the process of upgrading an instance's software. For more information, see "[AUTOTITLE](/admin/configuration/configuring-your-enterprise/command-line-utilities#ghe-config-apply)." |
{%- ifversion unique-config-run-logs %}
| <pre>/data/user/config-apply/logs/YYYYMMDD/*</pre> | Stores log files for previous configuration runs. The instance stores the files in a directory that reflects the date, and each file name reflects the node and the ID of the run. |
{%- endif %}

### Log files for search

Expand All @@ -133,7 +134,7 @@ The following log files contain events related to webhooks that your instance se

| Service name | Description |
| :- | :- |
| `hookshot-go` | Records events for all webhook activity on the instance, including triggered webhooks, deliveries, and failures.|
| <pre>hookshot-go</pre> | Records events for all webhook activity on the instance, including triggered webhooks, deliveries, and failures.|

### Log files for system services

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Minutes reset every month, while storage usage does not.

{% note %}

**Note**: Included minutes cannot be used for larger runners. These runners will always be charged for, including in public repos. For more information, see "[AUTOTITLE](/billing/managing-billing-for-github-actions/about-billing-for-github-actions#per-minute-rates)."
**Note**: Included minutes cannot be used for larger runners. These runners will always be charged for, including in public repositories. For more information, see "[AUTOTITLE](/billing/managing-billing-for-github-actions/about-billing-for-github-actions#per-minute-rates)."

{% endnote %}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ If you want to use the latest {% data variables.product.prodname_codeql %} featu

## Downloading databases from {% data variables.product.prodname_dotcom_the_website %}

{% data variables.product.prodname_dotcom %} stores {% data variables.product.prodname_codeql %} databases for over 200,000 repos on {% data variables.product.prodname_dotcom_the_website %}, which you can download using the REST API. The list of repos is constantly growing and evolving to make sure that it includes the most interesting codebases for security research.
{% data variables.product.prodname_dotcom %} stores {% data variables.product.prodname_codeql %} databases for over 200,000 repositories on {% data variables.product.prodname_dotcom_the_website %}, which you can download using the REST API. The list of repositories is constantly growing and evolving to make sure that it includes the most interesting codebases for security research.

You can also analyze databases from {% data variables.product.prodname_dotcom_the_website %} using the {% data variables.product.prodname_codeql %} for {% data variables.product.prodname_vscode_shortname %} extension. For more information, see "[Analyzing your projects](https://codeql.github.com/docs/codeql-for-visual-studio-code/analyzing-your-projects)."

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ shortTitle: Add a security policy
To give people instructions for reporting security vulnerabilities in your project,{% ifversion fpt or ghes or ghec %} you can add a `SECURITY.md` file to your repository's root, `docs`, or `.github` folder.{% else %} you can add a `SECURITY.md` file to your repository's root, or `docs` folder.{% endif %} When someone creates an issue in your repository, they will see a link to your project's security policy.

{% ifversion not ghae %}
<!-- no public repos in GHAE -->
<!-- no public repositories in GHAE -->
You can create a default security policy for your organization or personal account. For more information, see "[AUTOTITLE](/communities/setting-up-your-project-for-healthy-contributions/creating-a-default-community-health-file)."
{% endif %}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ versions:
type: reference
topics:
- Codespaces
shortTitle: Authenticating to repos
shortTitle: Authenticating to repositories
---

When you create a codespace for a repository, you can generally use `git pull` and `git push` to pull and push changes to that repository without any additional authentication. However, occasionally you may see authentication errors when trying to run these operations.
Expand Down Expand Up @@ -59,7 +59,7 @@ To use the token to authenticate in your codespace, you have the following optio
```

This will store the access token for the specific repository, so you will be able to push to and pull from the repository without overriding the existing credential helper.

{% note %}

**Note:** If you clone in this way, the token will be visible in your Git configuration. You should only use this method when working in a codespace created from a repository you trust, and you should limit the scope of the access token as much as possible.
Expand Down
3 changes: 1 addition & 2 deletions content/desktop/adding-and-cloning-repositories/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,5 @@ children:
- /adding-an-existing-project-to-github-using-github-desktop
- /cloning-and-forking-repositories-from-github-desktop
- /cloning-a-repository-from-github-to-github-desktop
shortTitle: Add & clone repos
shortTitle: Add & clone repositories
---

Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,6 @@ Clones starter code repo used by an assignment. By default, the starter code is
gh classroom clone student-repos
```

Clones student repositories from a given assignment. By default, the student repos are cloned into the current directory a directory named after the assignment slug. To clone into a different directory, use the `--directory` flag. If the directory does not exists, it will be created.
Clones student repositories from a given assignment. By default, the student repositories are cloned into the current directory a directory named after the assignment slug. To clone into a different directory, use the `--directory` flag. If the directory does not exists, it will be created.

By default, results are paginated by 30. To get a different number of repositories, use the `--per-page NUMBER` flag.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ versions:
ghec: '*'
topics:
- Repositories
shortTitle: Save repos with stars
shortTitle: Save repositories with stars
---
You can search, sort, and filter your starred repositories and topics on your {% data variables.explore.your_stars_page %}.

Expand Down
23 changes: 2 additions & 21 deletions content/github-cli/github-cli/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,26 +19,7 @@ shortTitle: Quickstart

## Prerequisites

1. Install {% data variables.product.prodname_cli %} on macOS, Windows, or Linux. For more information, see [Installation](https://github.com/cli/cli#installation) in the {% data variables.product.prodname_cli %} repository.
1. Authenticate with {% data variables.product.company_short %} by running this command from your terminal.{% ifversion ghes or ghae %} Replace `HOSTNAME` with the name of {% data variables.location.product_location %}. For example, `octo-inc.ghe.com`.{% endif %}

{%- ifversion fpt or ghec %}

```shell
gh auth login
```

{%- else %}

```shell
gh auth login --hostname HOSTNAME
```

{%- endif %}

1. Follow the on-screen prompts.

{% data variables.product.prodname_cli %} automatically stores your Git credentials for you when you choose HTTPS as your preferred protocol for Git operations and answer "yes" to the prompt asking if you would like to authenticate to Git with your {% data variables.product.prodname_dotcom %} credentials. This can be useful as it allows you to use `git push`, `git pull`, and so on, without needing to set up a separate credential manager or use SSH.
{% data reusables.rest-api.github-cli-install-and-auth %}

## Some useful commands

Expand Down Expand Up @@ -101,7 +82,7 @@ You can change configuration settings and add aliases or extensions, to make {%
- Enter `gh config set SUBCOMMANDS` to configure {% data variables.product.prodname_cli %}'s settings, replacing `SUBCOMMANDS` with the setting you want to adjust.

For example, you can specify the text editor that's used when a {% data variables.product.prodname_cli %} command requires you to edit text - such as when you add the body text for a new issue you're creating. To set your preferred text editor to {% data variables.product.prodname_vscode %} enter `gh config set editor "code -w"`. The `-w` (or `--wait`) flag in this example causes the command to wait for the file to be closed in {% data variables.product.prodname_vscode %} before proceeding with the next step in your terminal.

For more information, see [`gh config set`](https://cli.github.com/manual/gh_config_set).

- Define aliases for commands that you commonly run. For example, if you run `gh alias set prd "pr create --draft"`, you will then be able to run `gh prd` to quickly open a draft pull request. For more information, see [`gh alias`](https://cli.github.com/manual/gh_alias).
Expand Down
2 changes: 1 addition & 1 deletion content/graphql/guides/forming-calls-with-graphql.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ You can authenticate to the GraphQL API using a {% data variables.product.pat_ge
To authenticate with a {% data variables.product.pat_generic %}, follow the steps in "[AUTOTITLE](/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." The data that you are requesting will dictate which scopes {% ifversion pat-v2 %}or permissions {% endif %}you will need.

{% ifversion pat-v2 %}
For example, select the "issues:read" permission to read all of the issues in the repos your token has access to.
For example, select the "issues:read" permission to read all of the issues in the repositories your token has access to.

All {% data variables.product.pat_v2 %}s include read access to public repositories. To access public repositories with a {% data variables.product.pat_v1 %}, select the "public_repo" scope.

Expand Down
Loading
Loading