1
0
mirror of synced 2026-01-28 18:03:28 -05:00

Merge pull request #36663 from github/repo-sync

repo sync
This commit is contained in:
Octomerger Bot
2023-04-27 08:03:42 -04:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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.