You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,19 +4,19 @@
4
4
5
5
---
6
6
7
-
[Git Credential Manager][gcm] (GCM) is a secure Git credential helper built on [.NET][] that runs on Windows, macOS, and Linux.
7
+
[Git Credential Manager][gcm] (GCM) is a secure Git credential helper built on [.NET][dotnet] that runs on Windows, macOS, and Linux.
8
8
9
-
Compared to Git's [built-in credential helpers][git-tools-credential-storage] (Windows: wincred, macOS: osxkeychain, Linux: gnome-keyring/libsecret) which provides single-factor authentication support working on any HTTP-enabled Git repository, GCM provides multi-factor authentication support for [Azure DevOps][], Azure DevOps Server (formerly Team Foundation Server), GitHub, and Bitbucket.
9
+
Compared to Git's [built-in credential helpers][git-tools-credential-storage] (Windows: wincred, macOS: osxkeychain, Linux: gnome-keyring/libsecret) which provides single-factor authentication support working on any HTTP-enabled Git repository, GCM provides multi-factor authentication support for [Azure DevOps][azure-devops], Azure DevOps Server (formerly Team Foundation Server), GitHub, and Bitbucket, and GitLab.
10
10
11
11
Git Credential Manager (GCM) replaces the .NET Framework-based [Git Credential Manager for Windows][gcm-for-windows] (GCM), and the Java-based [Git Credential Manager for Mac and Linux][gcm-for-mac-and-linux] (Java GCM), providing a consistent authentication experience across all platforms.
12
12
13
13
## Current status
14
14
15
15
Git Credential Manager is currently available for Windows, macOS, and Linux\*. GCM only works with HTTP(S) remotes; you can still use Git with SSH:
GCM is included with [Git for Windows][], and the latest version is included in each new Git for Windows release. This is the preferred way to install GCM on Windows. During installation you will be asked to select a credential helper, with GCM being set as the default.
165
+
GCM is included with [Git for Windows][git-for-windows], and the latest version is included in each new Git for Windows release. This is the preferred way to install GCM on Windows. During installation you will be asked to select a credential helper, with GCM being set as the default.
166
166
167
167
![image][git-for-windows-screenshot]
168
168
@@ -222,7 +222,7 @@ Git that are not compatible.
222
222
223
223
Once it's installed and configured, Git Credential Manager is called implicitly by Git.
224
224
You don't have to do anything special, and GCM isn't intended to be called directly by the user.
225
-
For example, when pushing (`git push`) to [Azure DevOps][], [Bitbucket][], or [GitHub][], a window will automatically open and walk you through the sign-in process.
225
+
For example, when pushing (`git push`) to [Azure DevOps][azure-devops], [Bitbucket][bitbucket], or [GitHub][github], a window will automatically open and walk you through the sign-in process.
226
226
(This process will look slightly different for each Git host, and even in some cases, whether you've connected to an on-premises or cloud-hosted Git host.)
227
227
Later Git commands in the same repository will re-use existing credentials or tokens that GCM has stored for as long as they're valid.
228
228
@@ -263,12 +263,12 @@ This project follows [GitHub's Open Source Code of Conduct][gcm-coc].
263
263
We're [MIT][gcm-license] licensed.
264
264
When using GitHub logos, please be sure to follow the [GitHub logo guidelines][github-logos].
Copy file name to clipboardExpand all lines: docs/bitbucket-development.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,15 +7,15 @@ Additionally Bitbucket supports App-specific passwords which can be used via Bas
7
7
To enhance security Bitbucket offers optional Two-Factor Authentication (2FA). When 2FA is enabled username/password Basic Auth access to the REST APIs and to Git repositories is suspended.
8
8
At that point users are left with the choice of username/apps-specific-password Basic Auth for REST APIs and Git interactions, OAuth for REST APIs and Git/Hg interactions or SSH for Git/HG interactions and one of the previous choices for REST APIs.
9
9
SSH and REST API access are beyond the scope of this document.
10
-
Read about [Bitbucket's 2FA implementation][].
10
+
Read about [Bitbucket's 2FA implementation][2fa-impl].
11
11
12
12
App-specific passwords are not particularly user friendly as once created Bitbucket hides their value, even from the owner.
13
13
They are intended for use within application that talk to Bitbucket where application can remember and use the app-specific-password.
14
-
[Additional information][].
14
+
[Additional information][additional-info].
15
15
16
16
OAuth is the intended authentication method for user interactions with HTTPS remote URL for Git repositories when 2FA is active.
17
17
Essentially once a client application has an OAuth access token it can be used in place of a user's password.
18
-
Read more about information [Bitbucket's OAuth implementation][].
18
+
Read more about information [Bitbucket's OAuth implementation][oauth-impl].
19
19
20
20
Bitbucket's OAuth implementation follows the standard specifications for OAuth 2.0, which is out of scope for this document.
21
21
However it implements a comparatively rare part of OAuth 2.0 Refresh Tokens.
@@ -30,7 +30,7 @@ This is explained in more detail below.
30
30
31
31
## Multiple User Accounts
32
32
33
-
Unlike the GitHub implementation within the Git Credential Manager, the Bitbucket implementation stores 'secrets', passwords, app-specific passwords, or OAuth tokens, with usernames in the [Windows Credential Manager][] vault.
33
+
Unlike the GitHub implementation within the Git Credential Manager, the Bitbucket implementation stores 'secrets', passwords, app-specific passwords, or OAuth tokens, with usernames in the [Windows Credential Manager][wincred-manager] vault.
34
34
35
35
Depending on the circumstances this means either saving an explicit username in to the Windows Credential Manager/Vault or including the username in the URL used as the identifying key of entries in the Windows Credential Manager vault, i.e. using a key such as `git:https://[email protected]/` rather than `git:https://bitbucket.org`.
36
36
This means that the Bitbucket implementation in the GCM can support multiple accounts, and usernames, for a single user against Bitbucket, e.g. a personal account and a work account.
@@ -81,10 +81,10 @@ This will download and run a standalone instance of Bitbucket Server which can b
81
81
82
82
Atlassian has [documentation][] on how to download and install their SDK.
0 commit comments