You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/CONTRIBUTING.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,14 +10,14 @@ We accept pull requests for bug fixes and features where we've discussed the app
10
10
* Open an issue if things aren't working as expected
11
11
* Open an issue to propose a significant change
12
12
* Open an issue to propose a design for an issue labelled [`needs-design` and `help wanted`][needs design and help wanted], following the [proposing a design guidelines](#proposing-a-design) instructions below
13
+
* Open an issue to propose a new community supported `gh` package with details about support and redistribution
13
14
* Mention `@cli/code-reviewers` when an issue you want to work on does not have clear Acceptance Criteria
14
15
* Open a pull request for any issue labelled [`help wanted`][hw] and [`good first issue`][gfi]
15
16
16
17
### Please _do not_:
17
18
18
19
* Open a pull request for issues without the `help wanted` label or explicit Acceptance Criteria
19
20
* Expand pull request scope to include changes that are not described in the issue's Acceptance Criteria
20
-
* Add installation instructions specifically for your OS/package manager
21
21
* Open pull requests for any issue marked `core`. These issues require additional context from
22
22
the core CLI team at GitHub and any external pull requests will not be accepted
@@ -8,106 +8,44 @@ GitHub CLI is supported for users on GitHub.com, GitHub Enterprise Cloud, and Gi
8
8
9
9
## Documentation
10
10
11
-
For [installation options see below](#installation), for usage instructions [see the manual][manual].
11
+
For [installation options see below](#installation), for usage instructions [see the manual](https://cli.github.com/manual/).
12
12
13
13
## Contributing
14
14
15
-
If anything feels off or if you feel that some functionality is missing, please check out the [contributing page][contributing]. There you will find instructions for sharing your feedback, building the tool locally, and submitting pull requests to the project.
15
+
If anything feels off or if you feel that some functionality is missing, please check out the [contributing page](.github/CONTRIBUTING.md). There you will find instructions for sharing your feedback, building the tool locally, and submitting pull requests to the project.
16
16
17
-
If you are a hubber and are interested in shipping new commands for the CLI, check out our [doc on internal contributions][intake-doc].
17
+
If you are a hubber and are interested in shipping new commands for the CLI, check out our [doc on internal contributions](docs/working-with-us.md)
18
18
19
19
<!-- this anchor is linked to from elsewhere, so avoid renaming it -->
20
20
## Installation
21
21
22
-
### macOS
22
+
### [macOS](docs/install_macos.md)
23
23
24
-
`gh` is available via [Homebrew][], [MacPorts][], [Conda][], [Spack][], [Webi][], and as a downloadable binary including Mac OS installer `.pkg` from the [releases page][].
24
+
-[Homebrew](docs/install_macos.md#homebrew)
25
+
-[Precompiled binaries](docs/install_macos.md#precompiled-binaries) on [releases page][]
25
26
26
-
> [!NOTE]
27
-
> As of May 29th, Mac OS installer `.pkg` are unsigned with efforts prioritized in [`cli/cli#9139`](https://github.com/cli/cli/issues/9139) to support signing them.
27
+
For additional macOS packages and installers, see [community-supported docs](docs/install_macos.md#community-unofficial)
> The Windows installer modifies your PATH. When using Windows Terminal, you will need to **open a new window** for the changes to take effect. (Simply opening a new tab will _not_ be sufficient.)
93
-
94
-
#### scoop
95
-
96
-
| Install: | Upgrade: |
97
-
| ------------------ | ------------------ |
98
-
|`scoop install gh`|`scoop update gh`|
99
-
100
-
#### Chocolatey
101
-
102
-
| Install: | Upgrade: |
103
-
| ------------------ | ------------------ |
104
-
|`choco install gh`|`choco upgrade gh`|
105
-
106
-
#### Signed MSI
44
+
### Build from source
107
45
108
-
MSI installers are available for download on the [releases page][].
46
+
See here on how to [build GitHub CLI from source](docs/install_source.md).
109
47
110
-
### Codespaces
48
+
### GitHub Codespaces
111
49
112
50
To add GitHub CLI to your codespace, add the following to your [devcontainer file](https://docs.github.com/en/codespaces/setting-up-your-project-for-codespaces/adding-features-to-a-devcontainer-file):
113
51
@@ -119,13 +57,13 @@ To add GitHub CLI to your codespace, add the following to your [devcontainer fil
119
57
120
58
### GitHub Actions
121
59
122
-
GitHub CLI comes pre-installed in all [GitHub-Hosted Runners](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners).
60
+
[GitHub-hosted runners](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners) have the GitHub CLI pre-installed, which is updated weekly.
123
61
124
-
### Other platforms
62
+
If a specific version is needed, your GitHub Actions workflow will need to install it based on the [macOS](#macos), [Linux & Unix](#linux--unix), or [Windows](#windows) instructions above.
125
63
126
-
Download packaged binaries from the [releases page][].
64
+
For information on all pre-installed tools, see [`actions/runner-images`](https://github.com/actions/runner-images)
127
65
128
-
####Verification of binaries
66
+
### Verification of binaries
129
67
130
68
Since version 2.50.0, `gh` has been producing [Build Provenance Attestation](https://github.blog/changelog/2024-06-25-artifact-attestations-is-generally-available/), enabling a cryptographically verifiable paper-trail back to the origin GitHub repository, git revision, and build instructions used. The build provenance attestations are signed and rely on Public Good [Sigstore](https://www.sigstore.dev/) for PKI.
131
69
@@ -157,29 +95,11 @@ There are two common ways to verify a downloaded release, depending on whether `
157
95
Verified OK
158
96
```
159
97
160
-
### Build from source
161
-
162
-
See here on how to [build GitHub CLI from source][build from source].
163
-
164
98
## Comparison with hub
165
99
166
-
For many years, [hub][] was the unofficial GitHub CLI tool. `gh` is a new project that helps us explore
100
+
For many years, [hub](https://github.com/github/hub) was the unofficial GitHub CLI tool. `gh` is a new project that helps us explore
167
101
what an official GitHub CLI tool can look like with a fundamentally different design. While both
168
102
tools bring GitHub to the terminal, `hub` behaves as a proxy to `git`, and `gh` is a standalone
169
-
tool. Check out our [more detailed explanation][gh-vs-hub] to learn more.
170
-
171
-
[manual]: https://cli.github.com/manual/
172
-
[Homebrew]: https://brew.sh
173
-
[MacPorts]: https://www.macports.org
174
-
[winget]: https://github.com/microsoft/winget-cli
175
-
[scoop]: https://scoop.sh
176
-
[Chocolatey]: https://chocolatey.org
177
-
[Conda]: https://docs.conda.io/en/latest/
178
-
[Spack]: https://spack.io
179
-
[Webi]: https://webinstall.dev
103
+
tool. Check out our [more detailed explanation](docs/gh-vs-hub.md) to learn more.
0 commit comments