Skip to content

Commit 005bf81

Browse files
authored
Merge pull request #30685 from github/repo-sync
Repo sync
2 parents 3b7ee86 + 1459ee6 commit 005bf81

File tree

18 files changed

+35
-28
lines changed

18 files changed

+35
-28
lines changed

content/authentication/securing-your-account-with-two-factor-authentication-2fa/about-mandatory-two-factor-authentication.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ If you have been selected for mandatory 2FA, you must enroll in 2FA on {% data v
8787

8888
When you log in to {% data variables.product.prodname_dotcom_the_website %}, email verification does not count as 2FA. Your account's email address is used for password resets, which are a form of account recovery. If an attacker has access to your email inbox, they can reset the password for your account and pass the email device verification check, reducing your account's protection to a single factor. We require a second factor to prevent this scenario, so that second factor must be distinct from your email inbox. When you enable 2FA, we will no longer perform email verification on login.
8989

90+
### About service accounts and mandatory 2FA
91+
92+
Unattended or shared access accounts in your organization, such as bots and service accounts, that are selected for mandatory two-factor authentication, must enroll in 2FA. Enabling 2FA will not revoke or change the behavior of tokens issued for the service account. {% data variables.product.prodname_dotcom %} recommends securely storing the TOTP secret of the service account in shared credential storage. For more information, see "[AUTOTITLE](/organizations/keeping-your-organization-secure/managing-two-factor-authentication-for-your-organization/managing-bots-and-service-accounts-with-two-factor-authentication)."
93+
9094
## About your privacy with mandatory 2FA
9195

9296
If you have been selected for mandatory 2FA, that **does not** mean you have to provide {% data variables.product.prodname_dotcom %} with your phone number. You only have to provide your phone number if you use SMS for 2FA. Instead, we recommend configuring a TOTP app as your primary 2FA method. For more information, see "[AUTOTITLE](/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication#configuring-two-factor-authentication-using-a-totp-app)."

content/code-security/getting-started/dependabot-quickstart-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ You need to start by forking the demo repository.
3838

3939
1. Navigate to [https://github.com/dependabot/demo](https://github.com/dependabot/demo).
4040
1. At the top of the page, on the right, click **{% octicon "repo-forked" aria-hidden="true" %} Fork**.
41-
1. Select an owner (you can select your {% data variables.product.prodname_dotcom %} personal account) and type a repository name. For more information about forking repositories, see "[AUTOTITLE](/get-started/quickstart/fork-a-repo#forking-a-repository)."
41+
1. Select an owner (you can select your {% data variables.product.prodname_dotcom %} personal account) and type a repository name. For more information about forking repositories, see "[AUTOTITLE](/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo#forking-a-repository)."
4242
1. Click **Create fork**.
4343

4444
## Enabling {% data variables.product.prodname_dependabot %} for your repository

content/contributing/setting-up-your-environment-to-work-on-github-docs/working-on-github-docs-in-a-codespace.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ For more information, see "[AUTOTITLE](/free-pro-team@latest/codespaces/overview
1818
The following steps assume you have {% data variables.product.prodname_github_codespaces %} set up to edit files using {% data variables.product.prodname_vscode %} for Web. The steps are very similar if you have set a different editor. For more information, see "[AUTOTITLE](/free-pro-team@latest/codespaces/customizing-your-codespace/setting-your-default-editor-for-codespaces)."
1919

2020
1. Navigate to the open source repository for {% data variables.product.prodname_docs %}, [`github/docs`](https://github.com/github/docs).
21-
1. If you're an open source contributor, create a fork of the repository, then follow the rest of the steps in this procedure from your fork. For more information, see "[AUTOTITLE](/get-started/quickstart/fork-a-repo)."
21+
1. If you're an open source contributor, create a fork of the repository, then follow the rest of the steps in this procedure from your fork. For more information, see "[AUTOTITLE](/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo)."
2222
1. Create a branch to work on. For more information, see "[AUTOTITLE](/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-and-deleting-branches-within-your-repository)."
2323
1. On the main page of the repository, click **{% octicon "code" aria-hidden="true" %} Code**, then click **Create codespace on BRANCH-NAME**.
2424

content/desktop/adding-and-cloning-repositories/cloning-and-forking-repositories-from-github-desktop.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ You can also clone a repository directly from {% data variables.product.prodname
3232

3333
## Forking a repository
3434

35-
You can fork a repository on {% data variables.product.prodname_dotcom_the_website %} or in {% data variables.product.prodname_desktop %}. For information about forking on {% data variables.product.prodname_dotcom_the_website %}, see "[AUTOTITLE](/get-started/quickstart/fork-a-repo?tool=webui)."
35+
You can fork a repository on {% data variables.product.prodname_dotcom_the_website %} or in {% data variables.product.prodname_desktop %}. For information about forking on {% data variables.product.prodname_dotcom_the_website %}, see "[AUTOTITLE](/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo?tool=webui)."
3636

3737
{% data reusables.desktop.forking-a-repo %}
3838

content/get-started/quickstart/contributing-to-projects.md renamed to content/get-started/exploring-projects-on-github/contributing-to-a-project.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
2-
title: Contributing to projects
2+
title: Contributing to a project
3+
shortTitle: Contribute to a project
34
intro: Learn how to contribute to a project through forking.
45
permissions: '{% data reusables.enterprise-accounts.emu-permission-fork %}'
56
versions:
@@ -12,6 +13,8 @@ topics:
1213
- Forks
1314
- GitHub
1415
- Open Source
16+
redirect_from:
17+
- /get-started/quickstart/contributing-to-projects
1518
---
1619

1720
## About forking
@@ -20,7 +23,7 @@ If you want to contribute to someone else's project but don't have write access
2023

2124
{% data reusables.repositories.fork-definition-long %}
2225

23-
You can contribute by submitting pull requests from your fork to the upstream repository. For more information, see "[AUTOTITLE](/get-started/quickstart/fork-a-repo)."
26+
You can contribute by submitting pull requests from your fork to the upstream repository. For more information, see "[AUTOTITLE](/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo)."
2427

2528
## Forking a repository
2629

@@ -195,7 +198,7 @@ To do so, head on over to the repository on {% data variables.product.product_na
195198

196199
## Managing feedback
197200

198-
Pull Requests are an area for discussion. In this case, the Octocat is very busy, and probably won't merge your changes. For other projects, don't be offended if the project owner rejects your pull request, or asks for more information on why it's been made. It may even be that the project owner chooses not to merge your pull request, and that's totally okay. Your changes exist in your fork. And who knows--maybe someone you've never met will find your changes much more valuable than the original project.
201+
Pull requests are an area for discussion. Don't be offended if the project owner rejects your pull request, or asks for more information on why it's been made. Even if the project owner chooses not to merge your pull request, your changes still exist in your fork. It could be that someone else will find your fork much more valuable than the original project.
199202

200203
## Finding projects
201204

content/get-started/exploring-projects-on-github/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ topics:
1616
- Projects
1717
children:
1818
- /finding-ways-to-contribute-to-open-source-on-github
19+
- /contributing-to-a-project
1920
- /saving-repositories-with-stars
2021
- /following-people
2122
- /following-organizations
23+
2224
shortTitle: Explore projects
2325
---
24-

content/get-started/quickstart/index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ children:
1515
- /creating-an-account-on-github
1616
- /hello-world
1717
- /set-up-git
18-
- /fork-a-repo
1918
- /github-flow
20-
- /contributing-to-projects
2119
- /be-social
2220
- /communicating-on-github
2321
- /github-glossary
@@ -26,3 +24,4 @@ children:
2624
redirect_from:
2725
- /github/getting-started-with-github/quickstart
2826
---
27+

content/get-started/quickstart/set-up-git.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ If you want to work with Git locally, but do not want to use the command line, y
3333
If you do not need to work with files locally, {% data variables.product.product_name %} lets you complete many Git-related actions directly in the browser, including:
3434

3535
- [AUTOTITLE](/repositories/creating-and-managing-repositories/quickstart-for-repositories)
36-
- [Forking a repository](/get-started/quickstart/fork-a-repo)
36+
- [AUTOTITLE](/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo)
3737
- [Managing files](/repositories/working-with-files/managing-files)
3838
- [Being social](/get-started/quickstart/be-social)
3939

content/get-started/using-git/about-git.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,4 +163,4 @@ There are two primary ways people collaborate on {% data variables.product.produ
163163

164164
With a shared repository, individuals and teams are explicitly designated as contributors with read, write, or administrator access. This simple permission structure, combined with features like protected branches, helps teams progress quickly when they adopt {% data variables.product.product_name %}.
165165

166-
For an open source project, or for projects to which anyone can contribute, managing individual permissions can be challenging, but a fork and pull model allows anyone who can view the project to contribute. A fork is a copy of a project under a developer's personal account. Every developer has full control of their fork and is free to implement a fix or a new feature. Work completed in forks is either kept separate, or is surfaced back to the original project via a pull request. There, maintainers can review the suggested changes before they're merged. For more information, see "[AUTOTITLE](/get-started/quickstart/contributing-to-projects)."
166+
For an open source project, or for projects to which anyone can contribute, managing individual permissions can be challenging, but a fork and pull model allows anyone who can view the project to contribute. A fork is a copy of a project under a developer's personal account. Every developer has full control of their fork and is free to implement a fix or a new feature. Work completed in forks is either kept separate, or is surfaced back to the original project via a pull request. There, maintainers can review the suggested changes before they're merged. For more information, see "[AUTOTITLE](/get-started/exploring-projects-on-github/contributing-to-a-project)."

content/github-cli/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: "{% data variables.product.prodname_cli %} documentation"
3-
shortTitle: "{% data variables.product.prodname_cli %}"
2+
title: '{% data variables.product.prodname_cli %} documentation'
3+
shortTitle: '{% data variables.product.prodname_cli %}'
44
intro: '{% data reusables.cli.about-cli %}'
55
versions:
66
fpt: '*'
@@ -26,7 +26,7 @@ featuredLinks:
2626
- /repositories/creating-and-managing-repositories/quickstart-for-repositories
2727
- /pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally
2828
- /pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/merging-a-pull-request
29-
- /get-started/quickstart/fork-a-repo
29+
- /pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo
3030
- /repositories/creating-and-managing-repositories/cloning-a-repository
3131
popularHeading: Popular CLI tasks
3232
changelog:

content/pull-requests/collaborating-with-pull-requests/working-with-forks/about-forks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Deleting a fork will not delete the original upstream repository. You can make a
3333

3434
{% data reusables.repositories.you-can-fork %}
3535

36-
For instructions for forking a repository, see "[AUTOTITLE](/get-started/quickstart/fork-a-repo#forking-a-repository)." For more information about when you can create forks, and the permission and visibility settings of forks, see "[AUTOTITLE](/pull-requests/collaborating-with-pull-requests/working-with-forks/about-permissions-and-visibility-of-forks)."
36+
For instructions for forking a repository, see "[AUTOTITLE](/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo)." For more information about when you can create forks, and the permission and visibility settings of forks, see "[AUTOTITLE](/pull-requests/collaborating-with-pull-requests/working-with-forks/about-permissions-and-visibility-of-forks)."
3737

3838
{% tip %}
3939

content/get-started/quickstart/fork-a-repo.md renamed to content/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
---
2-
title: Fork a repo
2+
title: Fork a repository
3+
allowTitleToDifferFromFilename: true
34
redirect_from:
45
- /fork-a-repo
56
- /forking
67
- /articles/fork-a-repo
78
- /github/getting-started-with-github/fork-a-repo
89
- /github/getting-started-with-github/quickstart/fork-a-repo
10+
- /get-started/quickstart/fork-a-repo
911
intro: A fork is a new repository that shares code and visibility settings with the original “upstream” repository.
1012
permissions: '{% data reusables.enterprise-accounts.emu-permission-fork %}'
1113
versions:
@@ -96,7 +98,7 @@ gh repo fork REPOSITORY --org "octo-org"
9698

9799
{% desktop %}
98100

99-
You can fork a repository on {% data variables.product.prodname_dotcom_the_website %} or in {% data variables.product.prodname_desktop %}. For information about forking on {% data variables.product.prodname_dotcom_the_website %}, see [the web browser version of this article](/get-started/quickstart/fork-a-repo?tool=webui).
101+
You can fork a repository on {% data variables.product.prodname_dotcom_the_website %} or in {% data variables.product.prodname_desktop %}. For information about forking on {% data variables.product.prodname_dotcom_the_website %}, see [the web browser version of this article](/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo?tool=webui).
100102

101103
{% data reusables.desktop.forking-a-repo %}
102104

@@ -228,12 +230,10 @@ Fork a repository to start contributing to a project. {% data reusables.reposito
228230

229231
{% endif %}
230232

231-
## Next Steps
233+
## Next steps
232234

233235
You have now forked a repository, practiced cloning your fork, and configured an upstream repository.
234236

235-
- For more information about cloning the fork and syncing the changes in a forked repository from your computer, see "[AUTOTITLE](/get-started/quickstart/set-up-git)."
236-
237237
- You can also create a new repository where you can put all your projects and share the code on {% data variables.product.prodname_dotcom %}. {% data reusables.getting-started.create-a-repository %}"
238238

239239
- {% data reusables.getting-started.being-social %}

content/pull-requests/collaborating-with-pull-requests/working-with-forks/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ topics:
1414
- Pull requests
1515
children:
1616
- /about-forks
17+
- /fork-a-repo
1718
- /about-permissions-and-visibility-of-forks
1819
- /configuring-a-remote-repository-for-a-fork
1920
- /syncing-a-fork
2021
- /allowing-changes-to-a-pull-request-branch-created-from-a-fork
2122
- /what-happens-to-forks-when-a-repository-is-deleted-or-changes-visibility
2223
---
23-

content/repositories/working-with-files/managing-files/editing-files.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ shortTitle: Edit files
4444

4545
## Editing files in another user's repository
4646

47-
When you edit a file in another user's repository, we'll automatically [fork the repository](/get-started/quickstart/fork-a-repo) and [open a pull request](/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request) for you.
47+
When you edit a file in another user's repository, we'll automatically [fork the repository](/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo) and [open a pull request](/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request) for you.
4848

4949
1. In another user's repository, browse to the folder that contains the file you want to edit. Click the name of the file you want to edit.
5050
1. Above the file content, click {% octicon "pencil" aria-label="Edit file" %}. At this point, {% data variables.product.prodname_dotcom %} forks the repository for you.

content/site-policy/other-site-policies/github-account-recovery-policy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ topics:
88
- Legal
99
---
1010

11-
GitHub provides [a number of account recovery methods](/authentication/securing-your-account-with-two-factor-authentication-2fa/recovering-your-account-if-you-lose-your-2fa-credentials) including an [automated recovery process](/authentication/securing-your-account-with-two-factor-authentication-2fa/recovering-your-account-if-you-lose-your-2fa-credentials#authenticating-with-a-verified-device-ssh-token-or-personal-access-token) if you have lost access to your GitHub.com account. **If you cannot use any of the provided recovery methods, you have permanently lost access to your account.**
11+
GitHub provides [a number of account recovery methods](/authentication/securing-your-account-with-two-factor-authentication-2fa/recovering-your-account-if-you-lose-your-2fa-credentials) including an [automated recovery process](/authentication/securing-your-account-with-two-factor-authentication-2fa/recovering-your-account-if-you-lose-your-2fa-credentials#authenticating-with-a-verified-device-ssh-token-or-personal-access-token) if you have lost access to your GitHub.com account. **If you cannot use any of the provided recovery methods, you have permanently lost access to your account.**
1212

1313
You can, however, [unlink email addresses](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-your-personal-account/unlinking-your-email-address-from-a-locked-account) from a locked account in order to create a new account or use the email on another existing account.
1414

@@ -28,7 +28,7 @@ Please contact Support to request removal of a payment method from a locked out
2828

2929
## Can I recover the contents of a user or organization account I lost access to?
3030

31-
If you have lost access to a user account, you may [clone](/repositories/creating-and-managing-repositories/cloning-a-repository) or [fork](/get-started/quickstart/fork-a-repo) any content that is public.
31+
If you have lost access to a user account, you may [clone](/repositories/creating-and-managing-repositories/cloning-a-repository) or [fork](/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo) any content that is public.
3232

3333
If you have lost access to an organization account, you may clone or fork any content that is public and you may be able to request that remaining members of the organization clone or fork any private content.
3434

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{% data variables.product.prodname_dotcom %} connects users and allows you to interact with other projects. To learn more about contributing to someone else's project, see "[AUTOTITLE](/get-started/quickstart/contributing-to-projects)."
1+
{% data variables.product.prodname_dotcom %} connects users and allows you to interact with other projects. To learn more about contributing to someone else's project, see "[AUTOTITLE](/get-started/exploring-projects-on-github/contributing-to-a-project)."
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Forking a repository will allow you to make changes to another repository without affecting the original. For more information, see "[AUTOTITLE](/get-started/quickstart/fork-a-repo)."
1+
Forking a repository will allow you to make changes to another repository without affecting the original. For more information, see "[AUTOTITLE](/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo)."

src/redirects/tests/redirects.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ describe('redirects', () => {
311311
})
312312

313313
describe('enterprise user article', () => {
314-
const userArticle = `/en/enterprise-server@${enterpriseServerReleases.latest}/get-started/quickstart/fork-a-repo`
314+
const userArticle = `/en/enterprise-server@${enterpriseServerReleases.latest}/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo`
315315

316316
test('no product redirects to GitHub.com product on the latest version', async () => {
317317
const res = await get(
@@ -343,7 +343,7 @@ describe('redirects', () => {
343343
})
344344

345345
describe('enterprise user article with frontmatter redirect', () => {
346-
const userArticle = `/en/enterprise-server@${enterpriseServerReleases.latest}/get-started/quickstart/fork-a-repo`
346+
const userArticle = `/en/enterprise-server@${enterpriseServerReleases.latest}/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo`
347347
const redirectFromPath = '/articles/fork-a-repo'
348348

349349
test('redirects to expected article', async () => {

0 commit comments

Comments
 (0)