From 61f02f6f166bfc809367515949a416f822e4a9cd Mon Sep 17 00:00:00 2001 From: Jesse Houwing Date: Wed, 26 Apr 2023 17:35:05 +0200 Subject: [PATCH 1/4] Update cache-on-repository-path.md --- data/reusables/git/cache-on-repository-path.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/reusables/git/cache-on-repository-path.md b/data/reusables/git/cache-on-repository-path.md index 4bbab897644b..3d8a46cb3597 100644 --- a/data/reusables/git/cache-on-repository-path.md +++ b/data/reusables/git/cache-on-repository-path.md @@ -1,4 +1,4 @@ -1. To configure Git to cache credentials for each local directory where you clone a repository, enter the following command. +1. To configure Git to cache credentials for the full remote url of each repository being accessed on GitHub, enter the following command. ```shell{:copy} git config --global credential.https://github.com.useHttpPath true From 5443222fce0238456dfbadc7c4456078550cabcb Mon Sep 17 00:00:00 2001 From: Jesse Houwing Date: Wed, 26 Apr 2023 17:38:46 +0200 Subject: [PATCH 2/4] Update provide-credentials.md --- data/reusables/git/provide-credentials.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/reusables/git/provide-credentials.md b/data/reusables/git/provide-credentials.md index 613014fb9232..ce4e0cf4564f 100644 --- a/data/reusables/git/provide-credentials.md +++ b/data/reusables/git/provide-credentials.md @@ -1,3 +1,3 @@ 1. The first time that you use Git to clone a repository or access data in a repository that you've already cloned, Git will request credentials. Provide the {% data variables.product.pat_generic %} for the account with access to the repository. - Git will cache the {% data variables.product.pat_generic %} for the directory you're in, and you'll be able to access and write repository data on {% data variables.location.product_location %} using the correct account. + Git will cache the {% data variables.product.pat_generic %} based on the full remote url of the repository, and you'll be able to access and write repository data on {% data variables.location.product_location %} using the correct account. From 0a32348c86af1a6601d764b6e6ed5f42fb2a133e Mon Sep 17 00:00:00 2001 From: Jesse Houwing Date: Wed, 26 Apr 2023 19:45:21 +0200 Subject: [PATCH 3/4] Update data/reusables/git/cache-on-repository-path.md Co-authored-by: Isaac Brown <101839405+isaacmbrown@users.noreply.github.com> --- data/reusables/git/cache-on-repository-path.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/reusables/git/cache-on-repository-path.md b/data/reusables/git/cache-on-repository-path.md index 3d8a46cb3597..98d658eec32f 100644 --- a/data/reusables/git/cache-on-repository-path.md +++ b/data/reusables/git/cache-on-repository-path.md @@ -1,4 +1,4 @@ -1. To configure Git to cache credentials for the full remote url of each repository being accessed on GitHub, enter the following command. +1. To configure Git to cache credentials for the full remote URL of each repository you access on {% data variables.product.prodname_dotcom %}, enter the following command. ```shell{:copy} git config --global credential.https://github.com.useHttpPath true From b7af11dceb5341be349bf7c4db21f2d71b33040b Mon Sep 17 00:00:00 2001 From: Jesse Houwing Date: Wed, 26 Apr 2023 19:46:08 +0200 Subject: [PATCH 4/4] Update data/reusables/git/provide-credentials.md Co-authored-by: Isaac Brown <101839405+isaacmbrown@users.noreply.github.com> --- data/reusables/git/provide-credentials.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/reusables/git/provide-credentials.md b/data/reusables/git/provide-credentials.md index ce4e0cf4564f..70c5a180ecc4 100644 --- a/data/reusables/git/provide-credentials.md +++ b/data/reusables/git/provide-credentials.md @@ -1,3 +1,3 @@ 1. The first time that you use Git to clone a repository or access data in a repository that you've already cloned, Git will request credentials. Provide the {% data variables.product.pat_generic %} for the account with access to the repository. - Git will cache the {% data variables.product.pat_generic %} based on the full remote url of the repository, and you'll be able to access and write repository data on {% data variables.location.product_location %} using the correct account. + Git will cache the {% data variables.product.pat_generic %} based on the full remote URL of the repository, and you'll be able to access and write repository data on {% data variables.location.product_location %} using the correct account.