Skip to content
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ children:
- /requesting-organization-approval-for-oauth-apps
- /publicizing-or-hiding-organization-membership
- /removing-yourself-from-an-organization
- /removing-yourself-from-an-enterprise
shortTitle: Organization membership
contentType: how-tos
---
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
title: Removing yourself from an enterprise
intro: You can leave an enterprise after removing yourself from every organization in the enterprise.
versions:
fpt: '*'
ghec: '*'
topics:
- Accounts
shortTitle: Leave an enterprise
contentType: how-tos
---

If your personal {% data variables.product.github %} account is a member of an enterprise, you can leave the enterprise at any time.

After leaving an enterprise, you will no longer be a member of any organization in the enterprise, and you will lose {% data variables.product.prodname_copilot %} licenses and other privileges granted through the enterprise.

>[!NOTE] If you use a {% data variables.enterprise.prodname_managed_user %} provided by your enterprise, only administrators can remove you from the enterprise. You're using a {% data variables.enterprise.prodname_managed_user %} if all usernames in your enterprise end with a pattern like `_CODE`, or if you access the enterprise at a domain like `{% data variables.enterprise.data_residency_example_domain %}`.

## Leaving an enterprise

To leave an enterprise, you must remove yourself from every organization in the enterprise, then leave the enterprise itself.

1. Leave every organization in the enterprise.
1. Go to the [Enterprises](https://github.com/settings/enterprises) page in your settings.
1. Click the enterprise you want to leave, then click the **Organizations** tab.
1. Use the **Your role** dropdown to see the organizations that you're a member of.
1. Leave each organization by following the instructions in [AUTOTITLE](/account-and-profile/how-tos/organization-membership/removing-yourself-from-an-organization).
1. Go back to the [Enterprises](https://github.com/settings/enterprises) page and check if the enterprise is still listed. If it is **not** listed, you have left the enterprise.
1. If the enterprise **is** still listed, check your role for the enterprise and take the appropriate action to leave:

* If you're an **unaffiliated member**, next to the enterprise name, click **Leave**.
* If you're an **owner**, you must go to the enterprise settings and remove yourself. See [AUTOTITLE](/admin/managing-accounts-and-repositories/managing-users-in-your-enterprise/inviting-people-to-manage-your-enterprise#removing-an-enterprise-administrator-from-your-enterprise-account).
* If you're a **billing manager**, you must ask an enterprise owner to remove you using the instructions in [AUTOTITLE](/admin/managing-accounts-and-repositories/managing-users-in-your-enterprise/inviting-people-to-manage-your-enterprise#removing-an-enterprise-administrator-from-your-enterprise-account).

![Screenshot of the enterprises page. Next to "unaffilated member", the "Leave" button is highlighted with an orange outline.](/assets/images/help/enterprises/enterprise-self-removal.png)
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,9 @@ contentType: how-tos
{% data reusables.user-settings.access_settings %}
{% data reusables.user-settings.organizations %}
1. Under "Organizations", next to the organization you'd like to remove yourself from, click **Leave**.

{% ifversion fpt or ghec %}

If you remove yourself from every organization in an enterprise, you may also be automatically removed from the enterprise account. If you haven't been removed and want to leave an enterprise, see [AUTOTITLE](/account-and-profile/how-tos/organization-membership/removing-yourself-from-an-enterprise).

{% endif %}
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,17 @@ If a user is a member or owner of any organization, they are listed as an **orga

### Unaffiliated users

If a user is not a member of any organization, they are listed as an **unaffiliated user**. These users:
If a user is not a member of any organization, and doesn't have the enterprise owner or billing manager role, the user is listed as an unaffiliated user.

* Do not consume a {% data variables.product.prodname_enterprise %} license.
Unaffiliated users:

* Do not consume a {% data variables.product.prodname_enterprise %} license, unless they meet another criterion listed in [AUTOTITLE](/billing/reference/github-license-users#organizations-on-github-enterprise-cloud).
* Cannot access private or internal repositories.
* Can be added as members of enterprise teams.
* Can receive a {% data variables.product.prodname_copilot_short %} license directly from your enterprise.
* Can receive a {% data variables.product.prodname_copilot_short %} license or custom role directly from your enterprise.
* Can remove themselves from the enterprise at any time, unless you use {% data variables.product.prodname_emus %}.

If you have an enterprise with personal accounts, you can disable this role. See [AUTOTITLE](/admin/enforcing-policies/enforcing-policies-for-your-enterprise/control-offboarding).

{% endif %}

Expand Down
5 changes: 3 additions & 2 deletions content/billing/concepts/product-billing/github-actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,10 @@ The following amounts of time for standard {% data variables.product.github %}-h

{% data reusables.billing.actions-included-quotas %}

The use of standard {% data variables.product.github %}-hosted runners is free:
Standard {% data variables.product.github %}-hosted or self-hosted runner usage **on public repositories will remain free**.

The use of standard {% data variables.product.github %}-hosted runners is also free:

* In public repositories
* For {% data variables.product.prodname_pages %}
* For {% data variables.product.prodname_dependabot %}
* For the agentic features ({% data variables.release-phases.public_preview %}) in {% data variables.copilot.copilot_code-review %}
Expand Down
2 changes: 1 addition & 1 deletion content/billing/reference/actions-runner-pricing.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ These runners will use minutes included in your quota to run workflows in privat
| Windows 16-core | `windows_16_core_arm` | $0.080 | $0.050 | -38% |
| Windows 32-core | `windows_32_core_arm` | $0.160 | $0.098 | -39% |
| Windows 64-core | `windows_64_core_arm` | $0.320 | $0.194 | -39% |
| macOS 6-core (M1) | `macos_xl` | $0.160 | $0.102 | -36% |
| macOS 5-core (M2 Pro) | `macos_xl` | $0.160 | $0.102 | -36% |

## GPU-powered {% data variables.actions.hosted_runners %}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ redirect_from:
- /copilot/how-tos/administer/enterprises/manage-access/disable-for-organizations
- /copilot/how-tos/administer/manage-for-enterprise/manage-access/disable-for-organizations
contentType: how-tos
category:
category:
- Manage Copilot for a team
---

When you disable {% data variables.product.prodname_copilot %} for organizations, organization owners cannot assign {% data variables.product.prodname_copilot %} licenses to members of their organization. Enterprise owners will still be able to assign {% data variables.copilot.copilot_business_short %} licenses to users and teams in the enterprise settings.

{% data reusables.enterprise-accounts.copilot-licensing %}
1. Next to "Organization access", choose whether to disable {% data variables.product.prodname_copilot_short %} for all organizations or allow for specific organizations.

Expand All @@ -33,6 +35,8 @@ category:
* If your enterprise has a {% data variables.copilot.copilot_business_short %} plan, click **Disabled**.
* If your enterprise has a {% data variables.copilot.copilot_enterprise_short %} plan, click **Remove access**.

Once {% data variables.product.prodname_copilot_short %} is disabled, licenses that are currently granted through the organization will be revoked at the end of the billing period. You will **not** be double-billed if a user also receives a license from your enterprise during this period.

## Further reading

* [AUTOTITLE](/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ redirect_from:
- /copilot/how-tos/administer/manage-for-enterprise/manage-access/enable-for-organizations
- /copilot/how-tos/administer-copilot/manage-for-enterprise/manage-access/enable-for-organizations
contentType: how-tos
category:
category:
- Manage Copilot for a team
---

Expand Down Expand Up @@ -47,6 +47,7 @@ When you assign licenses to an enterprise team, users receive or lose access to
1. Click the **All members** or **Enterprise Teams** tab.
1. Click **Assign licenses**.
1. Search for users or teams, then click **Add licenses**.
1. Optionally, disable {% data variables.product.prodname_copilot_short %} for organizations to prevent organization owners from assigning licenses. See [AUTOTITLE](/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-access/disable-for-organizations).

## Enabling {% data variables.product.prodname_copilot_short %} for organizations

Expand Down
84 changes: 79 additions & 5 deletions content/copilot/how-tos/set-up/install-copilot-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ redirect_from:
- /copilot/how-tos/personal-settings/installing-github-copilot-in-the-cli
- /copilot/how-tos/set-up/installing-github-copilot-in-the-cli
contentType: how-tos
category:
category:
- Configure Copilot
---

Expand All @@ -26,20 +26,94 @@ To find out about {% data variables.copilot.copilot_cli_short %} before you inst

## Prerequisites

* **A {% data variables.product.prodname_copilot %} subscription**. See [Copilot plans](https://github.com/features/copilot/plans?ref_product=copilot&ref_type=engagement&ref_style=text).
* **Node.js** version 22 or later
* **npm** version 10 or later
* **An active {% data variables.product.prodname_copilot %} subscription**. See [{% data variables.product.prodname_copilot_short %} plans](https://github.com/features/copilot/plans?ref_product=copilot&ref_type=engagement&ref_style=text).
* (On Windows) **PowerShell** v6 or higher

If you have access to {% data variables.product.prodname_copilot %} via your organization or enterprise, you cannot use {% data variables.copilot.copilot_cli_short %} if your organization owner or enterprise administrator has disabled it in the organization or enterprise settings. See [AUTOTITLE](/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-github-copilot-features-in-your-organization/managing-policies-for-copilot-in-your-organization).

## Installing or updating {% data variables.copilot.copilot_cli_short %}

Run the following command to install or update {% data variables.copilot.copilot_cli_short %}.
You can install {% data variables.copilot.copilot_cli_short %} using WinGet (Windows), Homebrew (macOS and Linux), npm (all platforms), or an install script (macOS and Linux).

### Installing with WinGet (Windows)

```powershell copy
winget install GitHub.Copilot
```

To install the prerelease version:

```powershell copy
winget install GitHub.Copilot.Prerelease
```

### Installing with Homebrew (macOS and Linux)

```shell copy
brew install copilot-cli
```

To install the prerelease version:

```shell copy
brew install copilot-cli@prerelease
```

### Installing with npm (all platforms, requires Node.js 22+)

```shell copy
npm install -g @github/copilot
```

To install the prerelease version:

```shell copy
npm install -g @github/copilot@prerelease
```

### Installing with the install script (macOS and Linux)

```shell copy
curl -fsSL https://gh.io/copilot-install | bash
```

Or:

```shell copy
wget -qO- https://gh.io/copilot-install | bash
```

To run as root and install to `/usr/local/bin`, use `| sudo bash`.

To install to a custom directory, set the `PREFIX` environment variable. It defaults to `/usr/local` when run as root or `$HOME/.local` when run as a non-root user.

To install a specific version, set the `VERSION` environment variable. It defaults to the latest version.

For example, to install version `v0.0.369` to a custom directory:

```shell copy
curl -fsSL https://gh.io/copilot-install | VERSION="v0.0.369" PREFIX="$HOME/custom" bash
```

### Download from {% data variables.product.prodname_dotcom_the_website %}

You can download the executables directly from [the `copilot-cli` repository](https://github.com/github/copilot-cli/releases/).

Download the executable for your platform, unpack it, and run.

## Authenticating with {% data variables.copilot.copilot_cli_short %}

On first launch, if you're not currently logged in to {% data variables.product.github %}, you'll be prompted to use the `/login` slash command. Enter this command and follow the on-screen instructions to authenticate.

### Authenticating with a {% data variables.product.pat_generic %}

You can also authenticate using a {% data variables.product.pat_v2 %} with the "{% data variables.product.prodname_copilot_short %} Requests" permission enabled.

1. Visit [{% data variables.product.pat_v2_caps_plural %}](https://github.com/settings/personal-access-tokens/new).
1. Under "Permissions," click **Add permissions** and select **{% data variables.product.prodname_copilot_short %} Requests**.
1. Click **Generate token**.
1. Add the token to your environment using the `GH_TOKEN` or `GITHUB_TOKEN` environment variable (in order of precedence).

## Next steps

You can now use {% data variables.product.prodname_copilot_short %} from the command line. See [AUTOTITLE](/copilot/how-tos/use-copilot-agents/use-copilot-cli).
2 changes: 2 additions & 0 deletions data/release-notes/enterprise-server/3-14/20.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ sections:
Administrators can add security key-backed (SK) SSH certificate authorities.
- |
Administrators and users experience faster and more efficient searching of GitHub Actions workflow runs, with lower compute and networking resource usage. Searches for workflow runs within a repository are now always scoped to an associated repository.
- |
`ghe-repl-start` can now be executed without requiring a maintenance window when setting up a new replica, as long as `ghe-repl-setup` is immediately followed by `ghe-config-apply`. [Updated: 2025-12-17]
known_issues:
- |
During the validation phase of a configuration run, a `No such object` error may occur for the Notebook and Viewscreen services. This error can be ignored as the services should still correctly start.
Expand Down
6 changes: 4 additions & 2 deletions data/release-notes/enterprise-server/3-15/15.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sections:
- |
On instances with a "No Proxy" setting configured for GitHub Actions with MinIO or AWS remote blob providers, administrators sometimes experienced failures reading or writing Actions logs, artifacts, or caches because some traffic was incorrectly routed through the instances proxy.
- |
New Microsoft Teams integrations failed to set up because the required `tenant_id` field was missing from the configuration, following Microsoft's deprecation of multi-tenant bot creation. <!-- markdownlint-disable-line GHD046 -->
New Microsoft Teams integrations failed to set up because the required `tenant_id` field was missing from the configuration, following Microsoft's deprecation of multi-tenant bot creation. <!-- markdownlint-disable-line GHD046 -->
- |
Site administrators using the Management Console would see overly verbose error messages on the maintenance page. These error messages were not cleared when a new request was made, and no message was displayed when maintenance mode changes were saved successfully.
- |
Expand All @@ -26,11 +26,13 @@ sections:
When new Elasticsearch indexes were created, index routing memos could go to a read-only MySQL replica and fail, causing delays in audit log indexing after monthly rollovers. The memos are now written to the primary database rather than a read-only replica.
changes:
- |
A new weekly job automatically disables Elasticsearch deprecation logging and removes existing deprecation logs every Saturday at midnight. This helps administrators manage disk space by regularly cleaning up deprecation data streams and log indices that are no longer needed. <!-- markdownlint-disable-line GHD046 -->
A new weekly job automatically disables Elasticsearch deprecation logging and removes existing deprecation logs every Saturday at midnight. This helps administrators manage disk space by regularly cleaning up deprecation data streams and log indices that are no longer needed. <!-- markdownlint-disable-line GHD046 -->
- |
Administrators can add security key-backed (SK) SSH certificate authorities.
- |
Administrators and users experience faster and more efficient searching of GitHub Actions workflow runs, with lower compute and networking resource usage. Searches for workflow runs within a repository are now always scoped to an associated repository.
- |
`ghe-repl-start` can now be executed without requiring a maintenance window when setting up a new replica, as long as `ghe-repl-setup` is immediately followed by `ghe-config-apply`. [Updated: 2025-12-17]
known_issues:
- |
Custom firewall rules are removed during the upgrade process.
Expand Down
6 changes: 4 additions & 2 deletions data/release-notes/enterprise-server/3-16/11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ sections:
- |
On instances with a "No Proxy" setting configured for GitHub Actions with MinIO or AWS remote blob providers, administrators sometimes experienced failures reading or writing Actions logs, artifacts, or caches because some traffic was incorrectly routed through the instances proxy.
- |
New Microsoft Teams integrations failed to set up because the required `tenant_id` field was missing from the configuration, following Microsoft's deprecation of multi-tenant bot creation. <!-- markdownlint-disable-line GHD046 -->
New Microsoft Teams integrations failed to set up because the required `tenant_id` field was missing from the configuration, following Microsoft's deprecation of multi-tenant bot creation. <!-- markdownlint-disable-line GHD046 -->
- |
Site administrators using the Management Console would see overly verbose error messages on the maintenance page. These error messages were not cleared when a new request was made, and no message was displayed when maintenance mode changes were saved successfully.
- |
Expand All @@ -30,9 +30,11 @@ sections:
When new Elasticsearch indexes were created, index routing memos could go to a read-only MySQL replica and fail, causing delays in audit log indexing after monthly rollovers. The memos are now written to the primary database rather than a read-only replica.
changes:
- |
A new weekly job automatically disables Elasticsearch deprecation logging and removes existing deprecation logs every Saturday at midnight. This helps administrators manage disk space by regularly cleaning up deprecation data streams and log indices that are no longer needed. <!-- markdownlint-disable-line GHD046 -->
A new weekly job automatically disables Elasticsearch deprecation logging and removes existing deprecation logs every Saturday at midnight. This helps administrators manage disk space by regularly cleaning up deprecation data streams and log indices that are no longer needed. <!-- markdownlint-disable-line GHD046 -->
- |
Administrators can add security key-backed (SK) SSH certificate authorities.
- |
`ghe-repl-start` can now be executed without requiring a maintenance window when setting up a new replica, as long as `ghe-repl-setup` is immediately followed by `ghe-config-apply`. [Updated: 2025-12-17]
known_issues:
- |
Custom firewall rules are removed during the upgrade process.
Expand Down
Loading