From f9310d7b989fc183ca3ffc0a7bbc2c2fbde4a538 Mon Sep 17 00:00:00 2001 From: Doston Nabotov <96492656+dostonnabotov@users.noreply.github.com> Date: Mon, 17 Apr 2023 22:00:46 +0300 Subject: [PATCH 1/2] Fix link in creating-personal-access-token (#25030) --- .../creating-a-personal-access-token.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token.md b/content/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token.md index ec2e6b09ef..5ad3bdb088 100644 --- a/content/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token.md +++ b/content/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token.md @@ -28,7 +28,7 @@ shortTitle: 'Create a {% data variables.product.pat_generic %}' ## About {% data variables.product.pat_generic %}s -{% data variables.product.pat_generic_caps %}s are an alternative to using passwords for authentication to {% data variables.product.product_name %} when using the [GitHub API](/rest/overview/authenticating-to-the-rest-api) or the [command line](#using-a-token-on-the-command-line). +{% data variables.product.pat_generic_caps %}s are an alternative to using passwords for authentication to {% data variables.product.product_name %} when using the [GitHub API](/rest/overview/authenticating-to-the-rest-api) or the [command line](#using-a-personal-access-token-on-the-command-line). {% data variables.product.pat_generic_caps %}s are intended to access {% data variables.product.company_short %} resources on behalf of yourself. To access resources on behalf of an organization, or for long-lived integrations, you should use a {% data variables.product.prodname_github_app %}. For more information, see "[AUTOTITLE](/apps/creating-github-apps/creating-github-apps/about-apps)." From e2d847f384aaddd60c1c75c925aa0d8e1cfe283a Mon Sep 17 00:00:00 2001 From: fei6409 Date: Tue, 18 Apr 2023 03:14:12 +0800 Subject: [PATCH 2/2] Fix the command of deleting a remote branch (#25053) --- .../using-git/pushing-commits-to-a-remote-repository.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/get-started/using-git/pushing-commits-to-a-remote-repository.md b/content/get-started/using-git/pushing-commits-to-a-remote-repository.md index 50bac17ebd..d90b62d7a1 100644 --- a/content/get-started/using-git/pushing-commits-to-a-remote-repository.md +++ b/content/get-started/using-git/pushing-commits-to-a-remote-repository.md @@ -71,7 +71,7 @@ git push REMOTE-NAME --tags The syntax to delete a branch is a bit arcane at first glance: ```shell -git push REMOTE-NAME:BRANCH-NAME +git push REMOTE-NAME :BRANCH-NAME ``` Note that there is a space before the colon. The command resembles the same steps