@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user