Skip to content

Commit 7485a4b

Browse files
authored
Merge branch 'main' into mars-2020/update-table-description
2 parents 17017b2 + b3becb7 commit 7485a4b

11 files changed

Lines changed: 86 additions & 26 deletions
177 KB
Loading
51.5 KB
Loading

content/github/administering-a-repository/about-protected-branches.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ For each branch protection rule, you can choose to enable or disable the followi
4747
- [Allow force pushes](#allow-force-pushes)
4848
- [Allow deletions](#allow-deletions)
4949

50+
For more information on how to set up branch protection, see "[Managing a branch protection rule](/github/administering-a-repository/managing-a-branch-protection-rule)."
51+
5052
#### Require pull request reviews before merging
5153

5254
{% data reusables.pull_requests.required-reviews-for-prs-summary %}
@@ -100,7 +102,15 @@ When you enable required commit signing on a branch, contributors {% if currentV
100102

101103
{% note %}
102104

105+
{% if currentVersion == "free-pro-team@latest" %}
106+
**Notes:**
107+
108+
* If you have enabled vigilant mode, which indicates that your commits will always be signed, any commits that {% data variables.product.prodname_dotcom %} identifies as "Partially verified" are permitted on branches that require signed commits. For more information about vigilant mode, see "[Displaying verification statuses for all of your commits](/github/authenticating-to-github/displaying-verification-statuses-for-all-of-your-commits)."
109+
* If a collaborator pushes an unsigned commit to a branch that requires commit signatures, the collaborator will need to rebase the commit to include a verified signature, then force push the rewritten commit to the branch.
110+
111+
{% else %}
103112
**Note:** If a collaborator pushes an unsigned commit to a branch that requires commit signatures, the collaborator will need to rebase the commit to include a verified signature, then force push the rewritten commit to the branch.
113+
{% endif %}
104114

105115
{% endnote %}
106116

content/github/authenticating-to-github/about-commit-signature-verification.md

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: About commit signature verification
3-
intro: 'Using GPG or S/MIME, you can sign tags and commits locally. These tags or commits are marked as verified on {% data variables.product.product_name %} so other people can trust that the changes come from a trusted source.'
3+
intro: 'Using GPG or S/MIME, you can sign tags and commits locally. These tags or commits are marked as verified on {% data variables.product.product_name %} so other people can be confident that the changes come from a trusted source.'
44
redirect_from:
55
- /articles/about-gpg-commit-and-tag-signatures/
66
- /articles/about-gpg/
@@ -16,15 +16,34 @@ topics:
1616

1717
### About commit signature verification
1818

19-
You can sign commits and tags locally, so other people can verify that your work comes from a trusted source. If a commit or tag has a GPG or S/MIME signature that is cryptographically verifiable, {% data variables.product.product_name %} marks the commit or tag as verified.
19+
You can sign commits and tags locally, to give other people confidence about the origin of a change you have made. If a commit or tag has a GPG or S/MIME signature that is cryptographically verifiable, GitHub marks the commit or tag {% if currentVersion == "free-pro-team@latest" %}"Verified" or "Partially verified."{% else %}"Verified."{% endif %}
2020

2121
![Verified commit](/assets/images/help/commits/verified-commit.png)
2222

23-
If a commit or tag has a signature that cannot be verified, {% data variables.product.product_name %} marks the commit or tag as unverified.
23+
{% if currentVersion == "free-pro-team@latest" %}
24+
Commits and tags have the following verification statuses, depending on whether you have enabled vigilant mode. By default vigilant mode is not enabled. For information on how to enable vigilant mode, see "[Displaying verification statuses for all of your commits](/github/authenticating-to-github/displaying-verification-statuses-for-all-of-your-commits)."
25+
26+
{% data reusables.identity-and-permissions.vigilant-mode-beta-note %}
27+
28+
#### Default statuses
29+
30+
| Status | Description |
31+
| -------------- | ----------- |
32+
| **Verified** | The commit is signed and the signature was successfully verified.
33+
| **Unverified** | The commit is signed but the signature could not be verified.
34+
| No verification status | The commit is not signed.
35+
36+
#### Statuses with vigilant mode enabled
37+
38+
{% data reusables.identity-and-permissions.vigilant-mode-verification-statuses %}
39+
40+
{% else %}
41+
If a commit or tag has a signature that can't be verified, {% data variables.product.product_name %} marks the commit or tag "Unverified."
42+
{% endif %}
2443

2544
Repository administrators can enforce required commit signing on a branch to block all commits that are not signed and verified. For more information, see "[About protected branches](/github/administering-a-repository/about-protected-branches#require-signed-commits)."
2645

27-
You can check the verification status of your signed commits or tags on {% data variables.product.product_name %} and view why your commit signatures might be unverified. For more information, see "[Checking your commit and tag signature verification status](/articles/checking-your-commit-and-tag-signature-verification-status)."
46+
{% data reusables.identity-and-permissions.verification-status-check %}
2847

2948
{% if currentVersion == "free-pro-team@latest" %}
3049
{% data variables.product.product_name %} will automatically use GPG to sign commits you make using the {% data variables.product.product_name %} web interface, except for when you squash and merge a pull request that you are not the author of. You can optionally choose to have {% data variables.product.product_name %} sign commits you make in {% data variables.product.prodname_codespaces %}. Commits signed by {% data variables.product.product_name %} will have a verified status on {% data variables.product.product_name %}. You can verify the signature locally using the public key available at https://github.com/web-flow.gpg. For more information about enabling GPG verification for your codespaces, see "[Managing GPG verification for {% data variables.product.prodname_codespaces %}](/github/developing-online-with-codespaces/managing-gpg-verification-for-codespaces)."

content/github/authenticating-to-github/checking-your-commit-and-tag-signature-verification-status.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,20 @@ topics:
1717

1818
1. On {% data variables.product.product_name %}, navigate to your pull request.
1919
{% data reusables.repositories.review-pr-commits %}
20-
3. Next to your commit's abbreviated commit hash, there is a box that shows whether your commit signature is verified or unverified.
20+
3. Next to your commit's abbreviated commit hash, there is a box that shows whether your commit signature is verified{% if currentVersion == "free-pro-team@latest" %}, partially verified,{% endif %} or unverified.
2121
![Signed commit](/assets/images/help/commits/gpg-signed-commit-verified-without-details.png)
22-
4. To view more detailed information about the commit signature, click **Verified** or **Unverified**.
22+
4. To view more detailed information about the commit signature, click **Verified**{% if currentVersion == "free-pro-team@latest" %}, **Partially verified**,{% endif %} or **Unverified**.
2323
![Verified signed commit](/assets/images/help/commits/gpg-signed-commit_verified_details.png)
2424

25-
If your commit signature is unverified, you can learn more about why by clicking the **Unverified** box.
26-
![Unverified signed commit](/assets/images/help/commits/gpg-signed-commit-unverified-details.png)
27-
2825
### Checking your tag signature verification status
2926

3027
{% data reusables.repositories.navigate-to-repo %}
3128
{% data reusables.repositories.releases %}
3229
2. At the top of the Releases page, click **Tags**.
3330
![Tags page](/assets/images/help/releases/tags-list.png)
34-
3. Next to your tag description, there is a box that shows whether your tag signature is verified or unverified.
31+
3. Next to your tag description, there is a box that shows whether your tag signature is verified{% if currentVersion == "free-pro-team@latest" %}, partially verified,{% endif %} or unverified.
3532
![verified tag signature](/assets/images/help/commits/gpg-signed-tag-verified.png)
36-
4. To view more detailed information about the tag signature, click **Verified** or **Unverified**. If your tag signature is unverified, you can learn more about why by clicking the **Unverified** box.
33+
4. To view more detailed information about the tag signature, click **Verified**{% if currentVersion == "free-pro-team@latest" %}, **Partially verified**,{% endif %} or **Unverified**.
3734
![Verified signed tag](/assets/images/help/commits/gpg-signed-tag-verified-details.png)
3835

3936
### Further reading
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
title: Displaying verification statuses for all of your commits
3+
shortTitle: Displaying verification for all commits
4+
intro: You can enable vigilant mode for commit signature verification to mark all of your commits and tags with a signature verification status.
5+
versions:
6+
free-pro-team: '*'
7+
topics:
8+
- identity
9+
- access management
10+
---
11+
12+
{% data reusables.identity-and-permissions.vigilant-mode-beta-note %}
13+
14+
### About vigilant mode
15+
16+
When you work locally on your computer, Git allows you to set the author of your changes and the identity of the committer. This, potentially, makes it difficult for other people to be confident that commits and tags you create were actually created by you. To help solve this problem you can sign your commits and tags. For more information, see "[Signing commits](/github/authenticating-to-github/signing-commits)" and "[Signing tags](/github/authenticating-to-github/signing-tags)." {% data variables.product.prodname_dotcom %} marks signed commits and tags with a verification status.
17+
18+
By default commits and tags are marked "Verified" if they are signed with a GPG or S/MIME key that was successfully verified. If a commit or tag has a signature that can't be verified, {% data variables.product.prodname_dotcom %} marks the commit or tag "Unverified." In all other cases no verification status is displayed.
19+
20+
However, you can give other users increased confidence in the identity attributed to your commits and tags by enabling vigilant mode in your {% data variables.product.prodname_dotcom %} settings. With vigilant mode enabled, all of your commits and tags are marked with one of three verification statuses.
21+
22+
![Signature verification statuses](/assets/images/help/commits/signature-verification-statuses.png)
23+
24+
{% data reusables.identity-and-permissions.vigilant-mode-verification-statuses %}
25+
26+
You should only enable vigilant mode if you sign all of your commits and tags. After enabling this mode, any unsigned commits or tags that you generate locally and push to {% data variables.product.prodname_dotcom %} will be marked "Unverified."
27+
28+
{% data reusables.identity-and-permissions.verification-status-check %}
29+
30+
### Enabling vigilant mode
31+
32+
{% data reusables.user_settings.access_settings %}
33+
{% data reusables.user_settings.ssh %}
34+
3. On the SSH Settings page, under "Vigilant mode," select **Flag unsigned commits as unverified**.
35+
36+
![Flag unsigned commits as unverified checkbox](/assets/images/help/commits/vigilant-mode-checkbox.png)

content/github/authenticating-to-github/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ topics:
8282
{% link_in_list /error-were-doing-an-ssh-key-audit %}
8383
{% topic_link_in_list /managing-commit-signature-verification %}
8484
{% link_in_list /about-commit-signature-verification %}
85+
{% link_in_list /displaying-verification-statuses-for-all-of-your-commits %}
8586
{% link_in_list /checking-for-existing-gpg-keys %}
8687
{% link_in_list /generating-a-new-gpg-key %}
8788
{% link_in_list /adding-a-new-gpg-key-to-your-github-account %}

content/github/developing-online-with-codespaces/about-billing-for-codespaces.md

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,4 @@ topics:
1212

1313
{% data reusables.codespaces.about-billing-for-codespaces %}
1414

15-
Compute costs are incurred only when a codespace is active. When you're using a codespace, the codespace is active. After 30 minutes of inactivity, a codespace becomes suspended automatically.
16-
17-
Compute usage is billed per hour, at a rate that depends on your codespace's instance type. During the beta, {% data variables.product.prodname_codespaces %} offers a single, Linux instance type. At general availability, we'll support three Linux instance types.
18-
19-
| Instance Type (Linux) | Per-hour rate |
20-
| --------------------------------------- | ------------- |
21-
| Basic (2 cores, 4GB RAM, 32 GB SSD) | $0.085 |
22-
| Standard (4 cores, 8 GB RAM, 32 GB SSD) | $0.169 |
23-
| Premium (8 cores, 16 GB RAM, 32 GB SSD) | $0.339 |
24-
25-
Compute pricing may vary for additional instance types and operating systems supported in the future.
26-
27-
Each codespace also incurs monthly storage costs until you delete the codespace. Storage costs for all instance types are $0.10/GB-month.
28-
29-
We'll share more information about any compute and storage usage included in each plan at general availability.
15+
Updates on the billing model for Codespaces will be shared in an upcoming announcement.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
You can check the verification status of your signed commits or tags on {% data variables.product.product_name %} and view why your commit signatures might be unverified. For more information, see "[Checking your commit and tag signature verification status](/articles/checking-your-commit-and-tag-signature-verification-status)."
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{% note %}
2+
3+
**Note:** Vigilant mode is currently in beta and subject to change.
4+
5+
{% endnote %}

0 commit comments

Comments
 (0)