Skip to content

Commit

Permalink
docs: Explain the provider field for git credentials configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
nellh committed Apr 9, 2024
1 parent 4719417 commit 59f2b7e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/git.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@ This will configure these options for one repository.

To enable for all OpenNeuro repositories add this to your [git configuration file](https://git-scm.com/docs/git-config#FILES).

```cfg
[credential "https://openneuro.org"]
useHttpPath = true
helper = "/path/to/openneuro git-credential"
```

If you are using [Git Credential Manager](https://github.com/git-ecosystem/git-credential-manager) add the provider entry to avoid duplicating entries.

```cfg
[credential "https://openneuro.org"]
useHttpPath = true
Expand Down

0 comments on commit 59f2b7e

Please sign in to comment.