Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion data/reusables/git/cache-on-repository-path.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion data/reusables/git/provide-credentials.md
Original file line number Diff line number Diff line change
@@ -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.