diff --git a/data/reusables/git/cache-on-repository-path.md b/data/reusables/git/cache-on-repository-path.md index 4bbab897644b..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 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 you access on {% data variables.product.prodname_dotcom %}, enter the following command. ```shell{:copy} git config --global credential.https://github.com.useHttpPath true diff --git a/data/reusables/git/provide-credentials.md b/data/reusables/git/provide-credentials.md index 613014fb9232..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 %} 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.