Skip to content

Commit

Permalink
Fix missed links
Browse files Browse the repository at this point in the history
  • Loading branch information
wolf99 committed Jun 25, 2022
1 parent 3690580 commit dfde6d9
Showing 1 changed file with 42 additions and 43 deletions.
85 changes: 42 additions & 43 deletions docs/environment.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Environment variables

[Git Credential Manager][] works out of the box for most users. Configuration options are available to customize or tweak behavior.
[Git Credential Manager][gcm] works out of the box for most users. Configuration options are available to customize or tweak behavior.

Git Credential Manager (GCM) can be configured using environment variables. **Environment variables take precedence over [configuration][] options and enterprise system administrator [default values][]**.
Git Credential Manager (GCM) can be configured using environment variables. **Environment variables take precedence over [configuration][configuration] options and enterprise system administrator [default values][default-values]**.

For the complete list of environment variables GCM understands, see the list below.

Expand Down Expand Up @@ -156,7 +156,7 @@ export GCM_INTERACTIVE=0

Defaults to enabled.

**Also see: [credential.interactive][]**
**Also see: [credential.interactive][credential-interactive]**

---

Expand All @@ -166,7 +166,7 @@ Define the host provider to use when authenticating.

ID|Provider
-|-
`auto` _(default)_|_\[automatic\]_ ([learn more][])
`auto` _(default)_|_\[automatic\]_ ([learn more][autodetect])
`azure-repos`|Azure Repos
`github`|GitHub
`gitlab`|GitLab _(supports OAuth in browser, personal access token and Basic Authentication)_
Expand All @@ -190,15 +190,15 @@ SET GCM_PROVIDER=github
export GCM_PROVIDER=github
```

**Also see: [credential.provider][]**
**Also see: [credential.provider][credential-provider]**

---

### GCM_AUTHORITY _(deprecated)_

> This setting is deprecated and should be replaced by `GCM_PROVIDER` with the corresponding provider ID value.
>
> See the [migration guide][] for more information.
> See the [migration guide][migration-guide] for more information.
Select the host provider to use when authenticating by which authority is supported by the providers.

Expand All @@ -224,7 +224,7 @@ SET GCM_AUTHORITY=github
export GCM_AUTHORITY=github
```

**Also see: [credential.authority][]**
**Also see: [credential.authority][credential-authority]**

---

Expand All @@ -233,7 +233,7 @@ export GCM_AUTHORITY=github
Permit or disable GCM from presenting GUI prompts. If an equivalent terminal/
text-based prompt is available, that will be shown instead.

To disable all interactivity see [GCM_INTERACTIVE][].
To disable all interactivity see [GCM_INTERACTIVE][gcm-interactive].

#### Example

Expand All @@ -251,7 +251,7 @@ export GCM_GUI_PROMPT=0

Defaults to enabled.

**Also see: [credential.guiPrompt][]**
**Also see: [credential.guiPrompt][credential-guiprompt]**

---

Expand All @@ -260,7 +260,7 @@ Defaults to enabled.
Set the maximum length of time, in milliseconds, that GCM should wait for a
network response during host provider auto-detection probing.

See [autodetection][] for more information.
See [autodetection][autodetect] for more information.

**Note:** Use a negative or zero value to disable probing altogether.

Expand All @@ -280,7 +280,7 @@ SET GCM_AUTODETECT_TIMEOUT=-1
export GCM_AUTODETECT_TIMEOUT=-1
```

**Also see: [credential.autoDetectTimeout][]**
**Also see: [credential.autoDetectTimeout][credential-autodetecttimeout]**

---

Expand Down Expand Up @@ -311,15 +311,15 @@ SET GCM_ALLOW_WINDOWSAUTH=0
export GCM_ALLOW_WINDOWSAUTH=0
```

**Also see: [credential.allowWindowsAuth][]**
**Also see: [credential.allowWindowsAuth][credential-allowwindowsauth]**

---

### GCM_HTTP_PROXY _(deprecated)_

> This setting is deprecated and should be replaced by the [standard `http.proxy` Git configuration option][].
> This setting is deprecated and should be replaced by the [standard `http.proxy` Git configuration option][git-httpproxy].
>
> See the [HTTP proxy configuration][] for more information.
> See the [HTTP proxy configuration][network-http-proxy] for more information.
Configure GCM to use the a proxy for network operations.

Expand All @@ -337,7 +337,7 @@ SET GCM_HTTP_PROXY=http://john.doe:[email protected]
export GCM_HTTP_PROXY=http://john.doe:[email protected]
```

**Also see: [credential.httpProxy][]**
**Also see: [credential.httpProxy][credential-httpproxy]**

---

Expand Down Expand Up @@ -368,7 +368,7 @@ SET GCM_BITBUCKET_AUTHMODES="oauth,basic"
export GCM_BITBUCKET_AUTHMODES="oauth,basic"
```

**Also see: [credential.bitbucketAuthModes][]**
**Also see: [credential.bitbucketAuthModes][credential-bitbucketauthmodes]**

---

Expand Down Expand Up @@ -401,7 +401,7 @@ export GCM_BITBUCKET_ALWAYS_REFRESH_CREDENTIALS=1

Defaults to false/disabled.

**Also see: [credential.bitbucketAlwaysRefreshCredentials][]**
**Also see: [credential.bitbucketAlwaysRefreshCredentials][credential-bitbucketalwaysrefreshcredentials]**

---

Expand Down Expand Up @@ -433,7 +433,7 @@ SET GCM_GITHUB_AUTHMODES="oauth,basic"
export GCM_GITHUB_AUTHMODES="oauth,basic"
```

**Also see: [credential.gitHubAuthModes][github-auth-modes]**
**Also see: [credential.gitHubAuthModes][credential-githubauthmodes]**

---

Expand Down Expand Up @@ -463,7 +463,7 @@ SET GCM_GITLAB_AUTHMODES="browser"
export GCM_GITLAB_AUTHMODES="browser"
```

**Also see: [credential.gitLabAuthModes][gitlab-auth-modes]**
**Also see: [credential.gitLabAuthModes][credential-gitlabauthmodes]**

---

Expand Down Expand Up @@ -521,7 +521,7 @@ SET GCM_CREDENTIAL_STORE="gpg"
export GCM_CREDENTIAL_STORE="gpg"
```

**Also see: [credential.credentialStore][credential-credential-store]**
**Also see: [credential.credentialStore][credential-credentialstore]**

---

Expand All @@ -548,7 +548,7 @@ SET GCM_CREDENTIAL_CACHE_OPTIONS="--timeout 300"
export GCM_CREDENTIAL_CACHE_OPTIONS="--timeout 300"
```

**Also see: [credential.cacheOptions][credential-cache-options]**
**Also see: [credential.cacheOptions][credential-cacheoptions]**

---

Expand Down Expand Up @@ -576,7 +576,7 @@ export GCM_PLAINTEXT_STORE_PATH=/mnt/external-drive/credentials

### GCM_DPAPI_STORE_PATH

Specify a custom directory to store DPAPI protected credential files in when [`GCM_CREDENTIAL_STORE`](#GCM_CREDENTIAL_STORE) is set to `dpapi`.
Specify a custom directory to store DPAPI protected credential files in when [`GCM_CREDENTIAL_STORE`][gcm-credential-store] is set to `dpapi`.

Defaults to the value `%USERPROFILE%\.gcm\dpapi_store`.

Expand Down Expand Up @@ -696,43 +696,42 @@ export GCM_AZREPOS_CREDENTIALTYPE="oauth"

**Also see: [credential.azreposCredentialType][credential-azrepos-credential-type]**

[autodetection]: autodetect.md
[autodetect]: autodetect.md
[azure-access-tokens]: azrepos-users-and-tokens.md
[configuration]: configuration.md
[credential.allowWindowsAuth]: environment.md#credentialallowWindowsAuth
[credential.authority]: configuration.md#credentialauthority-deprecated
[credential.autoDetectTimeout]: configuration.md#credentialautodetecttimeout
[credential-allowwindowsauth]: environment.md#credentialallowWindowsAuth
[credential-authority]: configuration.md#credentialauthority-deprecated
[credential-autodetecttimeout]: configuration.md#credentialautodetecttimeout
[credential-azrepos-credential-type]: configuration.md#azreposcredentialtype
[credential.bitbucketAlwaysRefreshCredentials]: configuration.md#bitbucketAlwaysRefreshCredentials
[credential.bitbucketAuthModes]: configuration.md#credentialbitbucketAuthModes
[credential-cache-options]: configuration.md#credentialcacheoptions
[credential-credential-store]: configuration.md#credentialcredentialstore
[credential-bitbucketalwaysrefreshcredentials]: configuration.md#bitbucketAlwaysRefreshCredentials
[credential-bitbucketauthmodes]: configuration.md#credentialbitbucketAuthModes
[credential-cacheoptions]: configuration.md#credentialcacheoptions
[credential-credentialstore]: configuration.md#credentialcredentialstore
[credential-dpapi-store-path]: configuration.md#credentialdpapistorepath
[credential.guiPrompt]: configuration.md#credentialguiprompt
[credential.httpProxy]: configuration.md#credentialhttpProxy-deprecated
[credential.interactive]: configuration.md#credentialinteractive
[credential-githubauthmodes]: configuration.md#credentialgitHubAuthModes
[credential-gitlabauthmodes]: configuration.md#credentialgitLabAuthModes
[credential-guiprompt]: configuration.md#credentialguiprompt
[credential-httpproxy]: configuration.md#credentialhttpProxy-deprecated
[credential-interactive]: configuration.md#credentialinteractive
[credential-namespace]: configuration.md#credentialnamespace
[credential-msauth-flow]: configuration.md#credentialmsauthflow
[credential-msauth-usebroker]: configuration.md#credentialmsauthusebroker-experimental
[credential-plain-text-store]: configuration.md#credentialplaintextstorepath
[credential.provider]: configuration.md#credentialprovider
[credential-provider]: configuration.md#credentialprovider
[credential-stores]: credstores.md
[default values]: enterprise-config.md
[default-values]: enterprise-config.md
[freedesktop-ss]: https://specifications.freedesktop.org/secret-service/
[GCM_INTERACTIVE]: #gcm_interactive
[gcm]: usage.md
[gcm-interactive]: #gcm_interactive
[gcm-credential-store]: #GCM_CREDENTIAL_STORE
[gcm-dpapi-store-path]: #gcm_dpapi_store_path
[gcm-plaintext-store-path]: #gcm_plaintext_store_path
[gcm-msauth-usebroker]: #gcm_msauth_usebroker-experimental
[git-cache-options]: https://git-scm.com/docs/git-credential-cache#_options
[Git Credential Manager]: usage.md
[git-credential-cache]: https://git-scm.com/docs/git-credential-cache
[github-auth-modes]: configuration.md#credentialgitHubAuthModes
[gitlab-auth-modes]: configuration.md#credentialgitLabAuthModes
[HTTP proxy configuration]: netconfig.md#http-proxy
[learn more]: autodetect.md
[git-httpproxy]: https://git-scm.com/docs/git-config#Documentation/git-config.txt-httpproxy
[network-http-proxy]: netconfig.md#http-proxy
[libsecret]: https://wiki.gnome.org/Projects/Libsecret
[migration guide]: migration.md#gcm_authority
[migration-guide]: migration.md#gcm_authority
[passwordstore]: https://www.passwordstore.org/
[standard `http.proxy` Git configuration option]: https://git-scm.com/docs/git-config#Documentation/git-config.txt-httpproxy
[windows-broker]: windows-broker.md

0 comments on commit dfde6d9

Please sign in to comment.