From 64216114c0a1493c57a87ee12cc79d0f8e4f45d5 Mon Sep 17 00:00:00 2001
From: Peter Bengtsson
Date: Mon, 13 Dec 2021 03:49:40 -0500
Subject: [PATCH 1/2] cleaning up trailing slash redirects (part 4) (#23601)
---
...s-token-for-use-with-saml-single-sign-on.md | 2 +-
...ssh-key-for-use-with-saml-single-sign-on.md | 2 +-
.../index.md | 4 ++--
...w-ssh-key-and-adding-it-to-the-ssh-agent.md | 4 ++--
.../connecting-to-github-with-ssh/index.md | 16 ++++++++--------
.../working-with-ssh-key-passphrases.md | 4 ++--
.../about-commit-signature-verification.md | 4 ++--
.../index.md | 6 +++---
.../signing-commits.md | 4 ++--
.../signing-tags.md | 2 +-
.../telling-git-about-your-signing-key.md | 2 +-
...it-and-tag-signature-verification-status.md | 2 +-
.../index.md | 4 ++--
.../error-agent-admitted-failure-to-sign.md | 2 +-
.../troubleshooting-ssh/index.md | 2 +-
.../recovering-your-ssh-key-passphrase.md | 4 ++--
content/github/index.md | 6 +++---
content/github/writing-on-github/index.md | 6 +++---
.../archiving-a-github-repository/index.md | 2 +-
.../index.md | 2 +-
...and-restoring-branches-in-a-pull-request.md | 6 +++---
.../creating-a-new-repository.md | 6 +++---
.../creating-an-issues-only-repository.md | 4 ++--
.../deleting-a-repository.md | 4 ++--
.../duplicating-a-repository.md | 2 +-
.../transferring-a-repository.md | 18 +++++++++---------
.../about-code-owners.md | 2 +-
.../about-readmes.md | 4 ++--
.../about-repository-languages.md | 10 +++++-----
.../classifying-your-repository-with-topics.md | 2 +-
.../licensing-a-repository.md | 2 +-
...nd-analysis-settings-for-your-repository.md | 4 ++--
...ifications-for-pushes-to-your-repository.md | 6 +++---
.../setting-repository-visibility.md | 6 +++---
.../about-releases.md | 4 ++--
.../releasing-projects-on-github/index.md | 4 ++--
.../managing-releases-in-a-repository.md | 2 +-
...ewing-your-repositorys-releases-and-tags.md | 2 +-
.../about-repository-graphs.md | 2 +-
.../viewing-a-projects-contributors.md | 4 ++--
.../repositories/working-with-files/index.md | 4 ++--
.../managing-files/editing-files.md | 2 +-
.../about-git-large-file-storage.md | 2 +-
.../about-large-files-on-github.md | 2 +-
.../about-storage-and-bandwidth-usage.md | 4 ++--
...ollaboration-with-git-large-file-storage.md | 2 +-
.../configuring-git-large-file-storage.md | 2 +-
.../installing-git-large-file-storage.md | 2 +-
.../getting-permanent-links-to-files.md | 4 ++--
.../using-files/tracking-changes-in-a-file.md | 4 ++--
50 files changed, 101 insertions(+), 101 deletions(-)
diff --git a/content/authentication/authenticating-with-saml-single-sign-on/authorizing-a-personal-access-token-for-use-with-saml-single-sign-on.md b/content/authentication/authenticating-with-saml-single-sign-on/authorizing-a-personal-access-token-for-use-with-saml-single-sign-on.md
index 3957e660c3..4f9ee9ca67 100644
--- a/content/authentication/authenticating-with-saml-single-sign-on/authorizing-a-personal-access-token-for-use-with-saml-single-sign-on.md
+++ b/content/authentication/authenticating-with-saml-single-sign-on/authorizing-a-personal-access-token-for-use-with-saml-single-sign-on.md
@@ -2,7 +2,7 @@
title: Authorizing a personal access token for use with SAML single sign-on
intro: 'To use a personal access token with an organization that uses SAML single sign-on (SSO), you must first authorize the token.'
redirect_from:
- - /articles/authorizing-a-personal-access-token-for-use-with-a-saml-single-sign-on-organization/
+ - /articles/authorizing-a-personal-access-token-for-use-with-a-saml-single-sign-on-organization
- /articles/authorizing-a-personal-access-token-for-use-with-saml-single-sign-on
- /github/authenticating-to-github/authorizing-a-personal-access-token-for-use-with-saml-single-sign-on
- /github/authenticating-to-github/authenticating-with-saml-single-sign-on/authorizing-a-personal-access-token-for-use-with-saml-single-sign-on
diff --git a/content/authentication/authenticating-with-saml-single-sign-on/authorizing-an-ssh-key-for-use-with-saml-single-sign-on.md b/content/authentication/authenticating-with-saml-single-sign-on/authorizing-an-ssh-key-for-use-with-saml-single-sign-on.md
index 4a9c0b3218..fab6fce6f0 100644
--- a/content/authentication/authenticating-with-saml-single-sign-on/authorizing-an-ssh-key-for-use-with-saml-single-sign-on.md
+++ b/content/authentication/authenticating-with-saml-single-sign-on/authorizing-an-ssh-key-for-use-with-saml-single-sign-on.md
@@ -2,7 +2,7 @@
title: Authorizing an SSH key for use with SAML single sign-on
intro: 'To use an SSH key with an organization that uses SAML single sign-on (SSO), you must first authorize the key.'
redirect_from:
- - /articles/authorizing-an-ssh-key-for-use-with-a-saml-single-sign-on-organization/
+ - /articles/authorizing-an-ssh-key-for-use-with-a-saml-single-sign-on-organization
- /articles/authorizing-an-ssh-key-for-use-with-saml-single-sign-on
- /github/authenticating-to-github/authorizing-an-ssh-key-for-use-with-saml-single-sign-on
- /github/authenticating-to-github/authenticating-with-saml-single-sign-on/authorizing-an-ssh-key-for-use-with-saml-single-sign-on
diff --git a/content/authentication/authenticating-with-saml-single-sign-on/index.md b/content/authentication/authenticating-with-saml-single-sign-on/index.md
index 2eb03de42e..aaf8f6b2ba 100644
--- a/content/authentication/authenticating-with-saml-single-sign-on/index.md
+++ b/content/authentication/authenticating-with-saml-single-sign-on/index.md
@@ -3,9 +3,9 @@ title: Authenticating with SAML single sign-on
intro: 'You can authenticate to {% ifversion fpt %}a {% data variables.product.product_name %} organization {% elsif ghae %}{% data variables.product.product_location %} {% endif %}with SAML single sign-on (SSO){% ifversion fpt %} and view your active sessions{% endif %}.'
product: '{% data reusables.gated-features.saml-sso %}'
redirect_from:
- - /articles/authenticating-to-a-github-organization-with-saml-single-sign-on/
+ - /articles/authenticating-to-a-github-organization-with-saml-single-sign-on
- /articles/authenticating-with-saml-single-sign-on
- - /github/authenticating-to-github/authenticating-with-saml-single-sign-on/
+ - /github/authenticating-to-github/authenticating-with-saml-single-sign-on
versions:
fpt: '*'
ghae: '*'
diff --git a/content/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent.md b/content/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent.md
index 17b3890a45..76ac207187 100644
--- a/content/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent.md
+++ b/content/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent.md
@@ -2,8 +2,8 @@
title: Generating a new SSH key and adding it to the ssh-agent
intro: 'After you''ve checked for existing SSH keys, you can generate a new SSH key to use for authentication, then add it to the ssh-agent.'
redirect_from:
- - /articles/adding-a-new-ssh-key-to-the-ssh-agent/
- - /articles/generating-a-new-ssh-key/
+ - /articles/adding-a-new-ssh-key-to-the-ssh-agent
+ - /articles/generating-a-new-ssh-key
- /articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent
- /github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent
- /github/authenticating-to-github/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent
diff --git a/content/authentication/connecting-to-github-with-ssh/index.md b/content/authentication/connecting-to-github-with-ssh/index.md
index d586fbb62b..f052a1f3f4 100644
--- a/content/authentication/connecting-to-github-with-ssh/index.md
+++ b/content/authentication/connecting-to-github-with-ssh/index.md
@@ -2,15 +2,15 @@
title: Connecting to GitHub with SSH
intro: 'You can connect to {% data variables.product.product_name %} using the Secure Shell Protocol (SSH), which provides a secure channel over an unsecured network.'
redirect_from:
- - /key-setup-redirect/
- - /linux-key-setup/
- - /mac-key-setup/
- - /msysgit-key-setup/
- - /articles/ssh-key-setup/
- - /articles/generating-ssh-keys/
- - /articles/generating-an-ssh-key/
+ - /key-setup-redirect
+ - /linux-key-setup
+ - /mac-key-setup
+ - /msysgit-key-setup
+ - /articles/ssh-key-setup
+ - /articles/generating-ssh-keys
+ - /articles/generating-an-ssh-key
- /articles/connecting-to-github-with-ssh
- - /github/authenticating-to-github/connecting-to-github-with-ssh/
+ - /github/authenticating-to-github/connecting-to-github-with-ssh
versions:
fpt: '*'
ghes: '*'
diff --git a/content/authentication/connecting-to-github-with-ssh/working-with-ssh-key-passphrases.md b/content/authentication/connecting-to-github-with-ssh/working-with-ssh-key-passphrases.md
index 9e36321e37..f9dfd3f00c 100644
--- a/content/authentication/connecting-to-github-with-ssh/working-with-ssh-key-passphrases.md
+++ b/content/authentication/connecting-to-github-with-ssh/working-with-ssh-key-passphrases.md
@@ -2,8 +2,8 @@
title: Working with SSH key passphrases
intro: You can secure your SSH keys and configure an authentication agent so that you won't have to reenter your passphrase every time you use your SSH keys.
redirect_from:
- - /ssh-key-passphrases/
- - /working-with-key-passphrases/
+ - /ssh-key-passphrases
+ - /working-with-key-passphrases
- /articles/working-with-ssh-key-passphrases
- /github/authenticating-to-github/working-with-ssh-key-passphrases
- /github/authenticating-to-github/connecting-to-github-with-ssh/working-with-ssh-key-passphrases
diff --git a/content/authentication/managing-commit-signature-verification/about-commit-signature-verification.md b/content/authentication/managing-commit-signature-verification/about-commit-signature-verification.md
index 0a0564460c..e369530726 100644
--- a/content/authentication/managing-commit-signature-verification/about-commit-signature-verification.md
+++ b/content/authentication/managing-commit-signature-verification/about-commit-signature-verification.md
@@ -2,8 +2,8 @@
title: About commit signature verification
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.'
redirect_from:
- - /articles/about-gpg-commit-and-tag-signatures/
- - /articles/about-gpg/
+ - /articles/about-gpg-commit-and-tag-signatures
+ - /articles/about-gpg
- /articles/about-commit-signature-verification
- /github/authenticating-to-github/about-commit-signature-verification
- /github/authenticating-to-github/managing-commit-signature-verification/about-commit-signature-verification
diff --git a/content/authentication/managing-commit-signature-verification/index.md b/content/authentication/managing-commit-signature-verification/index.md
index ee520e190f..8a3ba49810 100644
--- a/content/authentication/managing-commit-signature-verification/index.md
+++ b/content/authentication/managing-commit-signature-verification/index.md
@@ -2,10 +2,10 @@
title: Managing commit signature verification
intro: 'You can sign your work locally using GPG or S/MIME. {% data variables.product.product_name %} will verify these signatures so other people will know that your commits come from a trusted source.{% ifversion fpt %} {% data variables.product.product_name %} will automatically sign commits you make using the {% data variables.product.product_name %} web interface.{% endif %}'
redirect_from:
- - /articles/generating-a-gpg-key/
- - /articles/signing-commits-with-gpg/
+ - /articles/generating-a-gpg-key
+ - /articles/signing-commits-with-gpg
- /articles/managing-commit-signature-verification
- - /github/authenticating-to-github/managing-commit-signature-verification/
+ - /github/authenticating-to-github/managing-commit-signature-verification
versions:
fpt: '*'
ghes: '*'
diff --git a/content/authentication/managing-commit-signature-verification/signing-commits.md b/content/authentication/managing-commit-signature-verification/signing-commits.md
index ad03fae2b2..a158f5199a 100644
--- a/content/authentication/managing-commit-signature-verification/signing-commits.md
+++ b/content/authentication/managing-commit-signature-verification/signing-commits.md
@@ -2,8 +2,8 @@
title: Signing commits
intro: You can sign commits locally using GPG or S/MIME.
redirect_from:
- - /articles/signing-commits-and-tags-using-gpg/
- - /articles/signing-commits-using-gpg/
+ - /articles/signing-commits-and-tags-using-gpg
+ - /articles/signing-commits-using-gpg
- /articles/signing-commits
- /github/authenticating-to-github/signing-commits
- /github/authenticating-to-github/managing-commit-signature-verification/signing-commits
diff --git a/content/authentication/managing-commit-signature-verification/signing-tags.md b/content/authentication/managing-commit-signature-verification/signing-tags.md
index 4781a9c471..7d9a38a398 100644
--- a/content/authentication/managing-commit-signature-verification/signing-tags.md
+++ b/content/authentication/managing-commit-signature-verification/signing-tags.md
@@ -2,7 +2,7 @@
title: Signing tags
intro: You can sign tags locally using GPG or S/MIME.
redirect_from:
- - /articles/signing-tags-using-gpg/
+ - /articles/signing-tags-using-gpg
- /articles/signing-tags
- /github/authenticating-to-github/signing-tags
- /github/authenticating-to-github/managing-commit-signature-verification/signing-tags
diff --git a/content/authentication/managing-commit-signature-verification/telling-git-about-your-signing-key.md b/content/authentication/managing-commit-signature-verification/telling-git-about-your-signing-key.md
index d56867dcdc..25275ba5df 100644
--- a/content/authentication/managing-commit-signature-verification/telling-git-about-your-signing-key.md
+++ b/content/authentication/managing-commit-signature-verification/telling-git-about-your-signing-key.md
@@ -2,7 +2,7 @@
title: Telling Git about your signing key
intro: 'To sign commits locally, you need to inform Git that there''s a GPG or X.509 key you''d like to use.'
redirect_from:
- - /articles/telling-git-about-your-gpg-key/
+ - /articles/telling-git-about-your-gpg-key
- /articles/telling-git-about-your-signing-key
- /github/authenticating-to-github/telling-git-about-your-signing-key
- /github/authenticating-to-github/managing-commit-signature-verification/telling-git-about-your-signing-key
diff --git a/content/authentication/troubleshooting-commit-signature-verification/checking-your-commit-and-tag-signature-verification-status.md b/content/authentication/troubleshooting-commit-signature-verification/checking-your-commit-and-tag-signature-verification-status.md
index e643302eb5..38e0b87865 100644
--- a/content/authentication/troubleshooting-commit-signature-verification/checking-your-commit-and-tag-signature-verification-status.md
+++ b/content/authentication/troubleshooting-commit-signature-verification/checking-your-commit-and-tag-signature-verification-status.md
@@ -2,7 +2,7 @@
title: Checking your commit and tag signature verification status
intro: 'You can check the verification status of your commit and tag signatures on {% data variables.product.product_name %}.'
redirect_from:
- - /articles/checking-your-gpg-commit-and-tag-signature-verification-status/
+ - /articles/checking-your-gpg-commit-and-tag-signature-verification-status
- /articles/checking-your-commit-and-tag-signature-verification-status
- /github/authenticating-to-github/checking-your-commit-and-tag-signature-verification-status
- /github/authenticating-to-github/troubleshooting-commit-signature-verification/checking-your-commit-and-tag-signature-verification-status
diff --git a/content/authentication/troubleshooting-commit-signature-verification/index.md b/content/authentication/troubleshooting-commit-signature-verification/index.md
index 7d4c3126b8..46abaa90df 100644
--- a/content/authentication/troubleshooting-commit-signature-verification/index.md
+++ b/content/authentication/troubleshooting-commit-signature-verification/index.md
@@ -2,9 +2,9 @@
title: Troubleshooting commit signature verification
intro: 'You may need to troubleshoot unexpected issues that arise when signing commits locally for verification on {% data variables.product.product_name %}.'
redirect_from:
- - /articles/troubleshooting-gpg/
+ - /articles/troubleshooting-gpg
- /articles/troubleshooting-commit-signature-verification
- - /github/authenticating-to-github/troubleshooting-commit-signature-verification/
+ - /github/authenticating-to-github/troubleshooting-commit-signature-verification
versions:
fpt: '*'
ghes: '*'
diff --git a/content/authentication/troubleshooting-ssh/error-agent-admitted-failure-to-sign.md b/content/authentication/troubleshooting-ssh/error-agent-admitted-failure-to-sign.md
index 812c79ca2d..1f852e1bcf 100644
--- a/content/authentication/troubleshooting-ssh/error-agent-admitted-failure-to-sign.md
+++ b/content/authentication/troubleshooting-ssh/error-agent-admitted-failure-to-sign.md
@@ -2,7 +2,7 @@
title: 'Error: Agent admitted failure to sign'
intro: 'In rare circumstances, connecting to {% data variables.product.product_name %} via SSH on Linux produces the error `"Agent admitted failure to sign using the key"`. Follow these steps to resolve the problem.'
redirect_from:
- - /articles/error-agent-admitted-failure-to-sign-using-the-key/
+ - /articles/error-agent-admitted-failure-to-sign-using-the-key
- /articles/error-agent-admitted-failure-to-sign
- /github/authenticating-to-github/error-agent-admitted-failure-to-sign
- /github/authenticating-to-github/troubleshooting-ssh/error-agent-admitted-failure-to-sign
diff --git a/content/authentication/troubleshooting-ssh/index.md b/content/authentication/troubleshooting-ssh/index.md
index 49ff2d76ab..b7b79529d9 100644
--- a/content/authentication/troubleshooting-ssh/index.md
+++ b/content/authentication/troubleshooting-ssh/index.md
@@ -3,7 +3,7 @@ title: Troubleshooting SSH
intro: 'When using SSH to connect and authenticate to {% data variables.product.product_name %}, you may need to troubleshoot unexpected issues that may arise.'
redirect_from:
- /articles/troubleshooting-ssh
- - /github/authenticating-to-github/troubleshooting-ssh/
+ - /github/authenticating-to-github/troubleshooting-ssh
versions:
fpt: '*'
ghes: '*'
diff --git a/content/authentication/troubleshooting-ssh/recovering-your-ssh-key-passphrase.md b/content/authentication/troubleshooting-ssh/recovering-your-ssh-key-passphrase.md
index e9f54aa68b..e8e60da730 100644
--- a/content/authentication/troubleshooting-ssh/recovering-your-ssh-key-passphrase.md
+++ b/content/authentication/troubleshooting-ssh/recovering-your-ssh-key-passphrase.md
@@ -2,8 +2,8 @@
title: Recovering your SSH key passphrase
intro: 'If you''ve lost your SSH key passphrase, depending on the operating system you use, you may either recover it or you may need to generate a new SSH key passphrase.'
redirect_from:
- - /articles/how-do-i-recover-my-passphrase/
- - /articles/how-do-i-recover-my-ssh-key-passphrase/
+ - /articles/how-do-i-recover-my-passphrase
+ - /articles/how-do-i-recover-my-ssh-key-passphrase
- /articles/recovering-your-ssh-key-passphrase
- /github/authenticating-to-github/recovering-your-ssh-key-passphrase
- /github/authenticating-to-github/troubleshooting-ssh/recovering-your-ssh-key-passphrase
diff --git a/content/github/index.md b/content/github/index.md
index b8c5e0a166..25aee3d946 100644
--- a/content/github/index.md
+++ b/content/github/index.md
@@ -1,9 +1,9 @@
---
title: GitHub
redirect_from:
- - /articles/
- - /common-issues-and-questions/
- - /troubleshooting-common-issues/
+ - /articles
+ - /common-issues-and-questions
+ - /troubleshooting-common-issues
intro: 'Documentation, guides, and help topics for software developers, designers, and project managers. Covers using Git, pull requests, issues, wikis, gists, and everything you need to make the most of GitHub for development.'
versions:
fpt: '*'
diff --git a/content/github/writing-on-github/index.md b/content/github/writing-on-github/index.md
index bb6fca8401..e53ef2f32b 100644
--- a/content/github/writing-on-github/index.md
+++ b/content/github/writing-on-github/index.md
@@ -1,9 +1,9 @@
---
title: Writing on GitHub
redirect_from:
- - /categories/88/articles/
- - /articles/github-flavored-markdown/
- - /articles/writing-on-github/
+ - /categories/88/articles
+ - /articles/github-flavored-markdown
+ - /articles/writing-on-github
- /categories/writing-on-github
intro: 'You can structure the information shared on {% data variables.product.product_name %} with various formatting options.'
versions:
diff --git a/content/repositories/archiving-a-github-repository/index.md b/content/repositories/archiving-a-github-repository/index.md
index d56b3073ee..753b40a4bf 100644
--- a/content/repositories/archiving-a-github-repository/index.md
+++ b/content/repositories/archiving-a-github-repository/index.md
@@ -2,7 +2,7 @@
title: Archiving a GitHub repository
intro: 'You can archive, back up, and cite your work using {% data variables.product.product_name %}, the API, or third-party tools and services.'
redirect_from:
- - /articles/can-i-archive-a-repository/
+ - /articles/can-i-archive-a-repository
- /articles/archiving-a-github-repository
- /enterprise/admin/user-management/archiving-and-unarchiving-repositories
- /github/creating-cloning-and-archiving-repositories/archiving-a-github-repository
diff --git a/content/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/index.md b/content/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/index.md
index 9589970b76..fbef6893f4 100644
--- a/content/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/index.md
+++ b/content/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/index.md
@@ -2,7 +2,7 @@
title: Defining the mergeability of pull requests
intro: 'You can require pull requests to pass a set of checks before they can be merged. For example, you can block pull requests that don''t pass status checks or require that pull requests have a specific number of approving reviews before they can be merged.'
redirect_from:
- - /articles/defining-the-mergeability-of-a-pull-request/
+ - /articles/defining-the-mergeability-of-a-pull-request
- /articles/defining-the-mergeability-of-pull-requests
- /enterprise/admin/developer-workflow/establishing-pull-request-merge-conditions
- /github/administering-a-repository/defining-the-mergeability-of-pull-requests
diff --git a/content/repositories/configuring-branches-and-merges-in-your-repository/managing-branches-in-your-repository/deleting-and-restoring-branches-in-a-pull-request.md b/content/repositories/configuring-branches-and-merges-in-your-repository/managing-branches-in-your-repository/deleting-and-restoring-branches-in-a-pull-request.md
index 6ee9ec66c3..807c0c5aa5 100644
--- a/content/repositories/configuring-branches-and-merges-in-your-repository/managing-branches-in-your-repository/deleting-and-restoring-branches-in-a-pull-request.md
+++ b/content/repositories/configuring-branches-and-merges-in-your-repository/managing-branches-in-your-repository/deleting-and-restoring-branches-in-a-pull-request.md
@@ -2,9 +2,9 @@
title: Deleting and restoring branches in a pull request
intro: 'If you have write access in a repository, you can delete branches that are associated with closed or merged pull requests. You cannot delete branches that are associated with open pull requests.'
redirect_from:
- - /articles/tidying-up-pull-requests/
- - /articles/restoring-branches-in-a-pull-request/
- - /articles/deleting-unused-branches/
+ - /articles/tidying-up-pull-requests
+ - /articles/restoring-branches-in-a-pull-request
+ - /articles/deleting-unused-branches
- /articles/deleting-and-restoring-branches-in-a-pull-request
- /github/administering-a-repository/deleting-and-restoring-branches-in-a-pull-request
- /github/administering-a-repository/managing-branches-in-your-repository/deleting-and-restoring-branches-in-a-pull-request
diff --git a/content/repositories/creating-and-managing-repositories/creating-a-new-repository.md b/content/repositories/creating-and-managing-repositories/creating-a-new-repository.md
index c6e900e528..a8a463dce3 100644
--- a/content/repositories/creating-and-managing-repositories/creating-a-new-repository.md
+++ b/content/repositories/creating-and-managing-repositories/creating-a-new-repository.md
@@ -2,9 +2,9 @@
title: Creating a new repository
intro: You can create a new repository on your personal account or any organization where you have sufficient permissions.
redirect_from:
- - /creating-a-repo/
- - /articles/creating-a-repository-in-an-organization/
- - /articles/creating-a-new-organization-repository/
+ - /creating-a-repo
+ - /articles/creating-a-repository-in-an-organization
+ - /articles/creating-a-new-organization-repository
- /articles/creating-a-new-repository
- /articles/creating-an-internal-repository
- /github/setting-up-and-managing-your-enterprise-account/creating-an-internal-repository
diff --git a/content/repositories/creating-and-managing-repositories/creating-an-issues-only-repository.md b/content/repositories/creating-and-managing-repositories/creating-an-issues-only-repository.md
index 30ab449f76..e5428dc4c8 100644
--- a/content/repositories/creating-and-managing-repositories/creating-an-issues-only-repository.md
+++ b/content/repositories/creating-and-managing-repositories/creating-an-issues-only-repository.md
@@ -2,8 +2,8 @@
title: Creating an issues-only repository
intro: '{% data variables.product.product_name %} does not provide issues-only access permissions, but you can accomplish this using a second repository which contains only the issues.'
redirect_from:
- - /articles/issues-only-access-permissions/
- - /articles/is-there-issues-only-access-to-organization-repositories/
+ - /articles/issues-only-access-permissions
+ - /articles/is-there-issues-only-access-to-organization-repositories
- /articles/creating-an-issues-only-repository
- /github/creating-cloning-and-archiving-repositories/creating-an-issues-only-repository
- /github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/creating-an-issues-only-repository
diff --git a/content/repositories/creating-and-managing-repositories/deleting-a-repository.md b/content/repositories/creating-and-managing-repositories/deleting-a-repository.md
index 5fb2fd7aea..f9f2013c0c 100644
--- a/content/repositories/creating-and-managing-repositories/deleting-a-repository.md
+++ b/content/repositories/creating-and-managing-repositories/deleting-a-repository.md
@@ -2,8 +2,8 @@
title: Deleting a repository
intro: You can delete any repository or fork if you're either an organization owner or have admin permissions for the repository or fork. Deleting a forked repository does not delete the upstream repository.
redirect_from:
- - /delete-a-repo/
- - /deleting-a-repo/
+ - /delete-a-repo
+ - /deleting-a-repo
- /articles/deleting-a-repository
- /github/administering-a-repository/deleting-a-repository
- /github/administering-a-repository/managing-repository-settings/deleting-a-repository
diff --git a/content/repositories/creating-and-managing-repositories/duplicating-a-repository.md b/content/repositories/creating-and-managing-repositories/duplicating-a-repository.md
index fe81a4601c..0cbb49c85b 100644
--- a/content/repositories/creating-and-managing-repositories/duplicating-a-repository.md
+++ b/content/repositories/creating-and-managing-repositories/duplicating-a-repository.md
@@ -2,7 +2,7 @@
title: Duplicating a repository
intro: 'To maintain a mirror of a repository without forking it, you can run a special clone command, then mirror-push to the new repository.'
redirect_from:
- - /articles/duplicating-a-repo/
+ - /articles/duplicating-a-repo
- /articles/duplicating-a-repository
- /github/creating-cloning-and-archiving-repositories/duplicating-a-repository
- /github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/duplicating-a-repository
diff --git a/content/repositories/creating-and-managing-repositories/transferring-a-repository.md b/content/repositories/creating-and-managing-repositories/transferring-a-repository.md
index 651ec1b4dd..82edf7150d 100644
--- a/content/repositories/creating-and-managing-repositories/transferring-a-repository.md
+++ b/content/repositories/creating-and-managing-repositories/transferring-a-repository.md
@@ -2,15 +2,15 @@
title: Transferring a repository
intro: You can transfer repositories to other users or organization accounts.
redirect_from:
- - /articles/about-repository-transfers/
- - /move-a-repo/
- - /moving-a-repo/
- - /articles/what-is-transferred-with-a-repository/
- - /articles/what-is-transferred-with-a-repo/
- - /articles/how-to-transfer-a-repo/
- - /articles/how-to-transfer-a-repository/
- - /articles/transferring-a-repository-owned-by-your-personal-account/
- - /articles/transferring-a-repository-owned-by-your-organization/
+ - /articles/about-repository-transfers
+ - /move-a-repo
+ - /moving-a-repo
+ - /articles/what-is-transferred-with-a-repository
+ - /articles/what-is-transferred-with-a-repo
+ - /articles/how-to-transfer-a-repo
+ - /articles/how-to-transfer-a-repository
+ - /articles/transferring-a-repository-owned-by-your-personal-account
+ - /articles/transferring-a-repository-owned-by-your-organization
- /articles/transferring-a-repository
- /github/administering-a-repository/transferring-a-repository
- /github/administering-a-repository/managing-repository-settings/transferring-a-repository
diff --git a/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners.md b/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners.md
index 0371d81e62..d5d45325ef 100644
--- a/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners.md
+++ b/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners.md
@@ -2,7 +2,7 @@
title: About code owners
intro: You can use a CODEOWNERS file to define individuals or teams that are responsible for code in a repository.
redirect_from:
- - /articles/about-codeowners/
+ - /articles/about-codeowners
- /articles/about-code-owners
- /github/creating-cloning-and-archiving-repositories/about-code-owners
- /github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-code-owners
diff --git a/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-readmes.md b/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-readmes.md
index a6ad2effcd..bd1c73488f 100644
--- a/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-readmes.md
+++ b/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-readmes.md
@@ -2,8 +2,8 @@
title: About READMEs
intro: 'You can add a README file to your repository to tell other people why your project is useful, what they can do with your project, and how they can use it.'
redirect_from:
- - /articles/section-links-on-readmes-and-blob-pages/
- - /articles/relative-links-in-readmes/
+ - /articles/section-links-on-readmes-and-blob-pages
+ - /articles/relative-links-in-readmes
- /articles/about-readmes
- /github/creating-cloning-and-archiving-repositories/about-readmes
- /github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-readmes
diff --git a/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-repository-languages.md b/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-repository-languages.md
index 2ab843e2d4..be5c459c90 100644
--- a/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-repository-languages.md
+++ b/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-repository-languages.md
@@ -2,11 +2,11 @@
title: About repository languages
intro: The files and directories within a repository determine the languages that make up the repository. You can view a repository's languages to get a quick overview of the repository.
redirect_from:
- - /articles/my-repository-is-marked-as-the-wrong-language/
- - /articles/why-isn-t-my-favorite-language-recognized/
- - /articles/my-repo-is-marked-as-the-wrong-language/
- - /articles/why-isn-t-sql-recognized-as-a-language/
- - /articles/why-isn-t-my-favorite-language-recognized-by-github/
+ - /articles/my-repository-is-marked-as-the-wrong-language
+ - /articles/why-isn-t-my-favorite-language-recognized
+ - /articles/my-repo-is-marked-as-the-wrong-language
+ - /articles/why-isn-t-sql-recognized-as-a-language
+ - /articles/why-isn-t-my-favorite-language-recognized-by-github
- /articles/about-repository-languages
- /github/creating-cloning-and-archiving-repositories/about-repository-languages
- /github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-repository-languages
diff --git a/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/classifying-your-repository-with-topics.md b/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/classifying-your-repository-with-topics.md
index 2aa2f07f4f..48c0c4d4bf 100644
--- a/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/classifying-your-repository-with-topics.md
+++ b/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/classifying-your-repository-with-topics.md
@@ -2,7 +2,7 @@
title: Classifying your repository with topics
intro: 'To help other people find and contribute to your project, you can add topics to your repository related to your project''s intended purpose, subject area, affinity groups, or other important qualities.'
redirect_from:
- - /articles/about-topics/
+ - /articles/about-topics
- /articles/classifying-your-repository-with-topics
- /github/administering-a-repository/classifying-your-repository-with-topics
- /github/administering-a-repository/managing-repository-settings/classifying-your-repository-with-topics
diff --git a/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/licensing-a-repository.md b/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/licensing-a-repository.md
index c719bbebe9..3ac3c54bdd 100644
--- a/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/licensing-a-repository.md
+++ b/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/licensing-a-repository.md
@@ -2,7 +2,7 @@
title: Licensing a repository
intro: 'Public repositories on GitHub are often used to share open source software. For your repository to truly be open source, you''ll need to license it so that others are free to use, change, and distribute the software.'
redirect_from:
- - /articles/open-source-licensing/
+ - /articles/open-source-licensing
- /articles/licensing-a-repository
- /github/creating-cloning-and-archiving-repositories/licensing-a-repository
- /github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/licensing-a-repository
diff --git a/content/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository.md b/content/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository.md
index b027483903..0181b7ae84 100644
--- a/content/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository.md
+++ b/content/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository.md
@@ -3,8 +3,8 @@ title: Managing security and analysis settings for your repository
intro: 'You can control features that secure and analyze the code in your project on {% data variables.product.prodname_dotcom %}.'
permissions: People with admin permissions to a repository can manage security and analysis settings for the repository.
redirect_from:
- - /articles/managing-alerts-for-vulnerable-dependencies-in-your-organization-s-repositories/
- - /articles/managing-alerts-for-vulnerable-dependencies-in-your-organizations-repositories/
+ - /articles/managing-alerts-for-vulnerable-dependencies-in-your-organization-s-repositories
+ - /articles/managing-alerts-for-vulnerable-dependencies-in-your-organizations-repositories
- /articles/managing-alerts-for-vulnerable-dependencies-in-your-organization
- /github/managing-security-vulnerabilities/managing-alerts-for-vulnerable-dependencies-in-your-organization
- /github/administering-a-repository/managing-security-and-analysis-settings-for-your-repository
diff --git a/content/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/about-email-notifications-for-pushes-to-your-repository.md b/content/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/about-email-notifications-for-pushes-to-your-repository.md
index 9a40def4b8..67c8fece20 100644
--- a/content/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/about-email-notifications-for-pushes-to-your-repository.md
+++ b/content/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/about-email-notifications-for-pushes-to-your-repository.md
@@ -3,9 +3,9 @@ title: About email notifications for pushes to your repository
intro: You can choose to automatically send email notifications to a specific email address when anyone pushes to the repository.
permissions: People with admin permissions in a repository can enable email notifications for pushes to your repository.
redirect_from:
- - /articles/managing-notifications-for-pushes-to-a-repository/
- - /articles/receiving-email-notifications-for-pushes-to-a-repository/
- - /articles/about-email-notifications-for-pushes-to-your-repository/
+ - /articles/managing-notifications-for-pushes-to-a-repository
+ - /articles/receiving-email-notifications-for-pushes-to-a-repository
+ - /articles/about-email-notifications-for-pushes-to-your-repository
- /github/receiving-notifications-about-activity-on-github/about-email-notifications-for-pushes-to-your-repository
- /github/administering-a-repository/about-email-notifications-for-pushes-to-your-repository
- /github/administering-a-repository/managing-repository-settings/about-email-notifications-for-pushes-to-your-repository
diff --git a/content/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility.md b/content/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility.md
index 1841cf3ab9..60c27fc359 100644
--- a/content/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility.md
+++ b/content/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility.md
@@ -2,9 +2,9 @@
title: Setting repository visibility
intro: You can choose who can view your repository.
redirect_from:
- - /articles/making-a-private-repository-public/
- - /articles/making-a-public-repository-private/
- - /articles/converting-a-public-repo-to-a-private-repo/
+ - /articles/making-a-private-repository-public
+ - /articles/making-a-public-repository-private
+ - /articles/converting-a-public-repo-to-a-private-repo
- /articles/setting-repository-visibility
- /github/administering-a-repository/setting-repository-visibility
- /github/administering-a-repository/managing-repository-settings/setting-repository-visibility
diff --git a/content/repositories/releasing-projects-on-github/about-releases.md b/content/repositories/releasing-projects-on-github/about-releases.md
index 883c2fc595..b4e5fce59b 100644
--- a/content/repositories/releasing-projects-on-github/about-releases.md
+++ b/content/repositories/releasing-projects-on-github/about-releases.md
@@ -2,8 +2,8 @@
title: About releases
intro: 'You can create a release to package software, along with release notes and links to binary files, for other people to use.'
redirect_from:
- - /articles/downloading-files-from-the-command-line/
- - /articles/downloading-files-with-curl/
+ - /articles/downloading-files-from-the-command-line
+ - /articles/downloading-files-with-curl
- /articles/about-releases
- /articles/getting-the-download-count-for-your-releases
- /github/administering-a-repository/getting-the-download-count-for-your-releases
diff --git a/content/repositories/releasing-projects-on-github/index.md b/content/repositories/releasing-projects-on-github/index.md
index f486698180..feb05945b2 100644
--- a/content/repositories/releasing-projects-on-github/index.md
+++ b/content/repositories/releasing-projects-on-github/index.md
@@ -2,8 +2,8 @@
title: Releasing projects on GitHub
intro: 'You can create a release to package software, release notes, and binary files for other people to download.'
redirect_from:
- - /categories/85/articles/
- - /categories/releases/
+ - /categories/85/articles
+ - /categories/releases
- /github/administering-a-repository/releasing-projects-on-github
versions:
fpt: '*'
diff --git a/content/repositories/releasing-projects-on-github/managing-releases-in-a-repository.md b/content/repositories/releasing-projects-on-github/managing-releases-in-a-repository.md
index f03d82caf8..eff47a5b08 100644
--- a/content/repositories/releasing-projects-on-github/managing-releases-in-a-repository.md
+++ b/content/repositories/releasing-projects-on-github/managing-releases-in-a-repository.md
@@ -3,7 +3,7 @@ title: Managing releases in a repository
intro: You can create releases to bundle and deliver iterations of a project to users.
redirect_from:
- /articles/creating-releases
- - /articles/listing-and-editing-releases/
+ - /articles/listing-and-editing-releases
- /articles/editing-and-deleting-releases
- /articles/managing-releases-in-a-repository
- /github/administering-a-repository/creating-releases
diff --git a/content/repositories/releasing-projects-on-github/viewing-your-repositorys-releases-and-tags.md b/content/repositories/releasing-projects-on-github/viewing-your-repositorys-releases-and-tags.md
index e8b67b47a9..393e6eb56c 100644
--- a/content/repositories/releasing-projects-on-github/viewing-your-repositorys-releases-and-tags.md
+++ b/content/repositories/releasing-projects-on-github/viewing-your-repositorys-releases-and-tags.md
@@ -2,7 +2,7 @@
title: Viewing your repository's releases and tags
intro: You can view the chronological history of your repository by release name or tag version number.
redirect_from:
- - /articles/working-with-tags/
+ - /articles/working-with-tags
- /articles/viewing-your-repositorys-tags
- /github/administering-a-repository/viewing-your-repositorys-tags
- /github/administering-a-repository/viewing-your-repositorys-releases-and-tags
diff --git a/content/repositories/viewing-activity-and-data-for-your-repository/about-repository-graphs.md b/content/repositories/viewing-activity-and-data-for-your-repository/about-repository-graphs.md
index 63f175baf4..2a5f059245 100644
--- a/content/repositories/viewing-activity-and-data-for-your-repository/about-repository-graphs.md
+++ b/content/repositories/viewing-activity-and-data-for-your-repository/about-repository-graphs.md
@@ -2,7 +2,7 @@
title: About repository graphs
intro: Repository graphs help you view and analyze data for your repository.
redirect_from:
- - /articles/using-graphs/
+ - /articles/using-graphs
- /articles/about-repository-graphs
- /github/visualizing-repository-data-with-graphs/about-repository-graphs
- /github/visualizing-repository-data-with-graphs/accessing-basic-repository-data/about-repository-graphs
diff --git a/content/repositories/viewing-activity-and-data-for-your-repository/viewing-a-projects-contributors.md b/content/repositories/viewing-activity-and-data-for-your-repository/viewing-a-projects-contributors.md
index 0035e6e331..02ea78541a 100644
--- a/content/repositories/viewing-activity-and-data-for-your-repository/viewing-a-projects-contributors.md
+++ b/content/repositories/viewing-activity-and-data-for-your-repository/viewing-a-projects-contributors.md
@@ -2,8 +2,8 @@
title: Viewing a project's contributors
intro: 'You can see who contributed commits to a repository{% ifversion fpt or ghec %} and its dependencies{% endif %}.'
redirect_from:
- - /articles/i-don-t-see-myself-in-the-contributions-graph/
- - /articles/viewing-contribution-activity-in-a-repository/
+ - /articles/i-don-t-see-myself-in-the-contributions-graph
+ - /articles/viewing-contribution-activity-in-a-repository
- /articles/viewing-a-projects-contributors
- /github/visualizing-repository-data-with-graphs/viewing-a-projects-contributors
- /github/visualizing-repository-data-with-graphs/accessing-basic-repository-data/viewing-a-projects-contributors
diff --git a/content/repositories/working-with-files/index.md b/content/repositories/working-with-files/index.md
index 8a03d297e2..1e874875f7 100644
--- a/content/repositories/working-with-files/index.md
+++ b/content/repositories/working-with-files/index.md
@@ -2,8 +2,8 @@
title: Working with files
intro: Learn how to manage and use files in repositories.
redirect_from:
- - /categories/81/articles/
- - /categories/manipulating-files/
+ - /categories/81/articles
+ - /categories/manipulating-files
- /categories/managing-files-in-a-repository
- /github/managing-files-in-a-repository
versions:
diff --git a/content/repositories/working-with-files/managing-files/editing-files.md b/content/repositories/working-with-files/managing-files/editing-files.md
index e17fdc3abf..b52562a21b 100644
--- a/content/repositories/working-with-files/managing-files/editing-files.md
+++ b/content/repositories/working-with-files/managing-files/editing-files.md
@@ -2,7 +2,7 @@
title: Editing files
intro: 'You can edit files directly on {% data variables.product.product_name %} in any of your repositories using the file editor.'
redirect_from:
- - /articles/editing-files/
+ - /articles/editing-files
- /articles/editing-files-in-your-repository
- /github/managing-files-in-a-repository/editing-files-in-your-repository
- /articles/editing-files-in-another-user-s-repository
diff --git a/content/repositories/working-with-files/managing-large-files/about-git-large-file-storage.md b/content/repositories/working-with-files/managing-large-files/about-git-large-file-storage.md
index ac1229f6fe..284c0fc933 100644
--- a/content/repositories/working-with-files/managing-large-files/about-git-large-file-storage.md
+++ b/content/repositories/working-with-files/managing-large-files/about-git-large-file-storage.md
@@ -2,7 +2,7 @@
title: About Git Large File Storage
intro: '{% data variables.product.product_name %} limits the size of files allowed in repositories. To track files beyond this limit, you can use {% data variables.large_files.product_name_long %}.'
redirect_from:
- - /articles/about-large-file-storage/
+ - /articles/about-large-file-storage
- /articles/about-git-large-file-storage
- /github/managing-large-files/about-git-large-file-storage
- /github/managing-large-files/versioning-large-files/about-git-large-file-storage
diff --git a/content/repositories/working-with-files/managing-large-files/about-large-files-on-github.md b/content/repositories/working-with-files/managing-large-files/about-large-files-on-github.md
index 88569010b9..575108e57e 100644
--- a/content/repositories/working-with-files/managing-large-files/about-large-files-on-github.md
+++ b/content/repositories/working-with-files/managing-large-files/about-large-files-on-github.md
@@ -12,7 +12,7 @@ redirect_from:
- /articles/conditions-for-large-files
- /github/managing-large-files/conditions-for-large-files
- /github/managing-large-files/working-with-large-files/conditions-for-large-files
- - /articles/what-is-the-size-limit-for-a-repository/
+ - /articles/what-is-the-size-limit-for-a-repository
- /articles/what-is-my-disk-quota
- /github/managing-large-files/what-is-my-disk-quota
- /github/managing-large-files/working-with-large-files/what-is-my-disk-quota
diff --git a/content/repositories/working-with-files/managing-large-files/about-storage-and-bandwidth-usage.md b/content/repositories/working-with-files/managing-large-files/about-storage-and-bandwidth-usage.md
index c32b022fd9..d8b8b08de9 100644
--- a/content/repositories/working-with-files/managing-large-files/about-storage-and-bandwidth-usage.md
+++ b/content/repositories/working-with-files/managing-large-files/about-storage-and-bandwidth-usage.md
@@ -2,8 +2,8 @@
title: About storage and bandwidth usage
intro: '{% data reusables.large_files.free-storage-bandwidth-amount %}'
redirect_from:
- - /articles/billing-plans-for-large-file-storage/
- - /articles/billing-plans-for-git-large-file-storage/
+ - /articles/billing-plans-for-large-file-storage
+ - /articles/billing-plans-for-git-large-file-storage
- /articles/about-storage-and-bandwidth-usage
- /github/managing-large-files/about-storage-and-bandwidth-usage
- /github/managing-large-files/versioning-large-files/about-storage-and-bandwidth-usage
diff --git a/content/repositories/working-with-files/managing-large-files/collaboration-with-git-large-file-storage.md b/content/repositories/working-with-files/managing-large-files/collaboration-with-git-large-file-storage.md
index 773630514c..f1cd37622a 100644
--- a/content/repositories/working-with-files/managing-large-files/collaboration-with-git-large-file-storage.md
+++ b/content/repositories/working-with-files/managing-large-files/collaboration-with-git-large-file-storage.md
@@ -2,7 +2,7 @@
title: Collaboration with Git Large File Storage
intro: 'With {% data variables.large_files.product_name_short %} enabled, you''ll be able to fetch, modify, and push large files just as you would expect with any file that Git manages. However, a user that doesn''t have {% data variables.large_files.product_name_short %} will experience a different workflow.'
redirect_from:
- - /articles/collaboration-with-large-file-storage/
+ - /articles/collaboration-with-large-file-storage
- /articles/collaboration-with-git-large-file-storage
- /github/managing-large-files/collaboration-with-git-large-file-storage
- /github/managing-large-files/versioning-large-files/collaboration-with-git-large-file-storage
diff --git a/content/repositories/working-with-files/managing-large-files/configuring-git-large-file-storage.md b/content/repositories/working-with-files/managing-large-files/configuring-git-large-file-storage.md
index 6b94878a8b..6569c30f30 100644
--- a/content/repositories/working-with-files/managing-large-files/configuring-git-large-file-storage.md
+++ b/content/repositories/working-with-files/managing-large-files/configuring-git-large-file-storage.md
@@ -2,7 +2,7 @@
title: Configuring Git Large File Storage
intro: 'Once [{% data variables.large_files.product_name_short %} is installed](/articles/installing-git-large-file-storage/), you need to associate it with a large file in your repository.'
redirect_from:
- - /articles/configuring-large-file-storage/
+ - /articles/configuring-large-file-storage
- /articles/configuring-git-large-file-storage
- /github/managing-large-files/configuring-git-large-file-storage
- /github/managing-large-files/versioning-large-files/configuring-git-large-file-storage
diff --git a/content/repositories/working-with-files/managing-large-files/installing-git-large-file-storage.md b/content/repositories/working-with-files/managing-large-files/installing-git-large-file-storage.md
index c051cbb5a7..744ea932b5 100644
--- a/content/repositories/working-with-files/managing-large-files/installing-git-large-file-storage.md
+++ b/content/repositories/working-with-files/managing-large-files/installing-git-large-file-storage.md
@@ -2,7 +2,7 @@
title: Installing Git Large File Storage
intro: 'In order to use {% data variables.large_files.product_name_short %}, you''ll need to download and install a new program that''s separate from Git.'
redirect_from:
- - /articles/installing-large-file-storage/
+ - /articles/installing-large-file-storage
- /articles/installing-git-large-file-storage
- /github/managing-large-files/installing-git-large-file-storage
- /github/managing-large-files/versioning-large-files/installing-git-large-file-storage
diff --git a/content/repositories/working-with-files/using-files/getting-permanent-links-to-files.md b/content/repositories/working-with-files/using-files/getting-permanent-links-to-files.md
index cba6634af4..e634289eb4 100644
--- a/content/repositories/working-with-files/using-files/getting-permanent-links-to-files.md
+++ b/content/repositories/working-with-files/using-files/getting-permanent-links-to-files.md
@@ -2,8 +2,8 @@
title: Getting permanent links to files
intro: 'When viewing a file on {% data variables.product.product_location %}, you can press the "y" key to update the URL to a permalink to the exact version of the file you see.'
redirect_from:
- - /articles/getting-a-permanent-link-to-a-file/
- - /articles/how-do-i-get-a-permanent-link-from-file-view-to-permanent-blob-url/
+ - /articles/getting-a-permanent-link-to-a-file
+ - /articles/how-do-i-get-a-permanent-link-from-file-view-to-permanent-blob-url
- /articles/getting-permanent-links-to-files
- /github/managing-files-in-a-repository/getting-permanent-links-to-files
- /github/managing-files-in-a-repository/managing-files-on-github/getting-permanent-links-to-files
diff --git a/content/repositories/working-with-files/using-files/tracking-changes-in-a-file.md b/content/repositories/working-with-files/using-files/tracking-changes-in-a-file.md
index 9f93554c5f..2aa33de78a 100644
--- a/content/repositories/working-with-files/using-files/tracking-changes-in-a-file.md
+++ b/content/repositories/working-with-files/using-files/tracking-changes-in-a-file.md
@@ -2,8 +2,8 @@
title: Tracking changes in a file
intro: You can trace changes to lines in a file and discover how parts of the file evolved over time.
redirect_from:
- - /articles/using-git-blame-to-trace-changes-in-a-file/
- - /articles/tracing-changes-in-a-file/
+ - /articles/using-git-blame-to-trace-changes-in-a-file
+ - /articles/tracing-changes-in-a-file
- /articles/tracking-changes-in-a-file
- /github/managing-files-in-a-repository/tracking-changes-in-a-file
- /github/managing-files-in-a-repository/managing-files-on-github/tracking-changes-in-a-file
From fe5a08ece6459300db814d05f1051b8c8cf93ae6 Mon Sep 17 00:00:00 2001
From: Peter Bengtsson
Date: Mon, 13 Dec 2021 03:57:00 -0500
Subject: [PATCH 2/2] content unit tests shouldn't depend on github.blog
(#23578)
---
tests/content/featured-links.js | 24 +-
.../github-blog-feed-packages-2021.xml | 218 ++++++++++++++++++
2 files changed, 240 insertions(+), 2 deletions(-)
create mode 100644 tests/fixtures/github-blog-feed-packages-2021.xml
diff --git a/tests/content/featured-links.js b/tests/content/featured-links.js
index 38d829369a..d5af4508a9 100644
--- a/tests/content/featured-links.js
+++ b/tests/content/featured-links.js
@@ -1,12 +1,32 @@
+import fs from 'fs/promises'
+import path from 'path'
+import { fileURLToPath } from 'url'
+
+import { beforeAll, jest } from '@jest/globals'
+import nock from 'nock'
+import japaneseCharacters from 'japanese-characters'
+
import '../../lib/feature-flags.js'
-import { jest } from '@jest/globals'
import { getDOM, getJSON } from '../helpers/supertest.js'
import enterpriseServerReleases from '../../lib/enterprise-server-releases.js'
-import japaneseCharacters from 'japanese-characters'
+
+const __dirname = path.dirname(fileURLToPath(import.meta.url))
describe('featuredLinks', () => {
jest.setTimeout(3 * 60 * 1000)
+ beforeAll(async () => {
+ const packagesFeedFixturePayload = await fs.readFile(
+ path.join(__dirname, '../fixtures/github-blog-feed-packages-2021.xml'),
+ 'utf-8'
+ )
+ nock('https://github.blog')
+ .get('/changelog/label/packages/feed')
+ .reply(200, packagesFeedFixturePayload)
+ })
+
+ afterAll(() => nock.cleanAll())
+
describe('rendering', () => {
test('non-TOC pages do not have intro links', async () => {
const $ = await getDOM('/en/get-started/quickstart/set-up-git')
diff --git a/tests/fixtures/github-blog-feed-packages-2021.xml b/tests/fixtures/github-blog-feed-packages-2021.xml
new file mode 100644
index 0000000000..b90b7383fb
--- /dev/null
+++ b/tests/fixtures/github-blog-feed-packages-2021.xml
@@ -0,0 +1,218 @@
+
+
+
+ packages – The GitHub Blog
+
+ https://github.blog
+ Updates, ideas, and inspiration from GitHub to help developers build and design software.
+ Mon, 21 Jun 2021 19:05:37 +0000
+ en-US
+
+ hourly
+
+ 1
+ https://wordpress.org/?v=5.7.4
+
+
+ https://github.blog/wp-content/uploads/2019/01/cropped-github-favicon-512.png?fit=32%2C32
+ packages – The GitHub Blog
+ https://github.blog
+ 32
+ 32
+
+153214340
+ GitHub Packages Container registry is generally available!
+ https://github.blog/changelog/2021-06-21-github-packages-container-registry-is-generally-available
+
+
+ Mon, 21 Jun 2021 19:05:37 +0000
+ https://github.blog/changelog/2021-06-21-github-packages-container-registry-is-generally-available
+
+
+ GitHub Packages Container registry, ghcr.io, is now generally available! Container registry provides the best developer experience for publishing, managing, and consuming containers on GitHub. For more information, check out the Container registry general availability blog post.
+]]>
+
+
+
+ 58760
+
+ Packages: ghcr.io maintenance mode on 2021-06-05
+ https://github.blog/changelog/2021-06-02-packages-ghcr-io-maintenance-mode-on-2021-06-05
+
+
+ Wed, 02 Jun 2021 20:26:25 +0000
+ https://github.blog/changelog/2021-06-02-packages-ghcr-io-maintenance-mode-on-2021-06-05
+
+
+ On June 5th, 2021 the GitHub Container Registry, ghcr.io, will be put into maintenance mode. The maintenance window will occur from 16:00 – 17:30 UTC. During this short time pushes to the service will be blocked, however pulls or downloads will remain available. For more detailed status information during maintenance, please refer to https://githubstatus.com
+
+]]>
+
+
+
+ 58525
+
+ Packages: Container registry now supports GITHUB_TOKEN
+ https://github.blog/changelog/2021-03-24-packages-container-registry-now-supports-github_token
+
+
+ Wed, 24 Mar 2021 17:56:45 +0000
+ https://github.blog/changelog/2021-03-24-packages-container-registry-now-supports-github_token
+
+
+ You can now use GITHUB_TOKEN to authenticate with the Packages Container registry in your Actions workflows. Say goodbye to all those PATs (delete them from your profile too!), and say hello to using the GITHUB_TOKEN in your workflows to read, create, update, and delete containers.
+
+]]>
+
+
+
+ 56993
+
+ Packages: internal visibility now available for Container registry
+ https://github.blog/changelog/2021-03-24-packages-internal-visibility-now-available-for-container-registry
+
+
+ Wed, 24 Mar 2021 17:55:30 +0000
+ https://github.blog/changelog/2021-03-24-packages-internal-visibility-now-available-for-container-registry
+
+
+ The GitHub Packages Container registry can now create and use containers set with Internal visibility. Internal visibility allows all members of an organization and all organizations within an enterprise read access to the container to more easily share data with your teammates.
+
This feature is generally available today on GitHub Enterprise Cloud. Navigate to your organization's Packages settings and click the option for Internal visibility to enable.
+]]>
+
+
+
+ 56992
+
+ Packages: time has been dropped from npm package metadata responses
+ https://github.blog/changelog/2021-03-05-packages-time-has-been-dropped-from-npm-package-metadata-responses
+
+
+ Fri, 05 Mar 2021 17:02:14 +0000
+ https://github.blog/changelog/2021-03-05-packages-time-has-been-dropped-from-npm-package-metadata-responses
+
+
+ The Packages npm registry no longer returns a time value in metadata responses. This was done to allow for substantial performance improvements. We continue to have all the data necessary to return a time value as part of the metadata response and will resume returning this value in the future once we have solved the existing performance issues.
+
Note: This post originally inaccurately referred to time as not being returned in the “official npm specification”. While an “official npm specification” does not exist, time is referred to in the registry package-metadata documentation and used for some commands.
+]]>
+
+
+
+ 56624
+
+ Packages: delete and restore for all packages
+ https://github.blog/changelog/2021-02-17-packages-delete-and-restore-for-all-packages
+
+
+ Thu, 18 Feb 2021 01:15:14 +0000
+ https://github.blog/changelog/2021-02-17-packages-delete-and-restore-for-all-packages
+
+
+ You can now delete and restore any package type within GitHub Packages, even publicly visible packages. Any package or package version of yours can now be deleted through the github.com website or REST APIs. The ability to delete any package will help you manage the packages you want to keep in your account. Any package deleted within the last 30 days can also be restored to undo a delete and bring the package back to its original state.
+
+]]>
+
+
+
+ 56289
+
+ Packages: ghcr.io maintenance mode on 2021-01-09
+ https://github.blog/changelog/2021-01-08-packages-ghcr-io-maintenance-mode-on-2021-01-09
+
+
+ Fri, 08 Jan 2021 20:27:27 +0000
+ https://github.blog/changelog/2021-01-08-packages58-ghcr-io-maintenance-mode-on-2021-01-09
+
+
+ On January 9th 2021 the GitHub Container Registry, ghcr.io, will be put into maintenance mode. During this short time pushes to the service will be blocked, however pulls or downloads will remain available. For more detailed status information during maintenance, please refer to https://githubstatus.com
+
+]]>
+
+
+
+ 55793
+
+ Packages can filter for tagged and untagged containers
+ https://github.blog/changelog/2020-12-14-packages-can-filter-for-tagged-and-untagged-containers
+
+
+ Mon, 14 Dec 2020 17:48:23 +0000
+ https://github.blog/changelog/2020-12-14-packages-can-filter-for-tagged-and-untagged-containers
+
+
+ As more and more versions of containers are published it can become harder to find the tagged images in between a long list of untagged images which create a lot of noise. Now when you visit the version list page of a container, like the super-linter versions, you'll see options for listing tagged, untagged, and all images. We default to showing only the tagged images on the version list page to keep the list limited to the most important images.
+
+]]>
+
+
+
+ 55332
+
+ Packages container support is an opt-in beta
+ https://github.blog/changelog/2020-11-17-packages-container-support-is-an-opt-in-beta
+
+
+ Tue, 17 Nov 2020 17:21:57 +0000
+ https://github.blog/changelog/2020-11-17-packages-container-support-is-an-opt-in-beta
+
+
+ You can now more easily opt-in to the public beta of GitHub Packages' improved containers experience. New users and organizations can opt-in to the beta for their organization using either organization settings, or for their user account using user feature preview.
+
Current organizations and users of the Packages containers beta will be automatically opted-in for continued access to service.