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
**_[Azure DevOps only]_ If the account picker shows more than one identity as you authenticate, check that you selected the same one that has access on the web.**
47
+
**_[Azure DevOps only]_ If the account picker shows more than one identity as
48
+
you authenticate, check that you selected the same one that has access on the
49
+
web.**
48
50
49
51
*[ ] Not applicable
50
52
*[ ] I only see one identity
@@ -58,13 +60,16 @@ I am authenticated and my Git operation completes successfully.
58
60
59
61
**Actual behavior**
60
62
61
-
A clear and concise description of what happens. For example: exception is thrown, UI freezes, etc.
63
+
A clear and concise description of what happens. For example: exception is
64
+
thrown, UI freezes, etc.
62
65
63
66
**Logs**
64
67
65
-
Set the environment variables `GCM_TRACE=1` and `GIT_TRACE=1` and re-run your Git command. Review and redact any private information and attach the log.
68
+
Set the environment variables `GCM_TRACE=1` and `GIT_TRACE=1` and re-run your
69
+
Git command. Review and redact any private information and attach the log.
66
70
67
-
If you are running inside of Windows Subsystem for Linux (WSL), you must also set an additional environment variable to enable tracing: `WSLENV=$WSLENV:GCM_TRACE`.
71
+
If you are running inside of Windows Subsystem for Linux (WSL), you must also
72
+
set an additional environment variable to enable tracing: `WSLENV=$WSLENV:GCM_TRACE`.
**_[Azure DevOps only]_ If the account picker shows more than one identity as you authenticate, check that you selected the same one that has access on the web.**
47
+
**_[Azure DevOps only]_ If the account picker shows more than one identity as
48
+
you authenticate, check that you selected the same one that has access on the
49
+
web.**
48
50
49
51
*[ ] Not applicable
50
52
*[ ] I only see one identity
@@ -58,13 +60,16 @@ I am authenticated and my Git operation completes successfully.
58
60
59
61
**Actual behavior**
60
62
61
-
A clear and concise description of what happens. For example: exception is thrown, UI freezes, etc.
63
+
A clear and concise description of what happens. For example: exception is
64
+
thrown, UI freezes, etc.
62
65
63
66
**Logs**
64
67
65
-
Set the environment variables `GCM_TRACE=1` and `GIT_TRACE=1` and re-run your Git command. Review and redact any private information and attach the log.
68
+
Set the environment variables `GCM_TRACE=1` and `GIT_TRACE=1` and re-run your
69
+
Git command. Review and redact any private information and attach the log.
66
70
67
-
If you are running inside of Windows Subsystem for Linux (WSL), you must also set an additional environment variable to enable tracing: `WSLENV=$WSLENV:GCM_TRACE`.
71
+
If you are running inside of Windows Subsystem for Linux (WSL), you must also
72
+
set an additional environment variable to enable tracing: `WSLENV=$WSLENV:GCM_TRACE`.
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+17-8Lines changed: 17 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,19 @@
1
1
# Contributing
2
2
3
-
Hi there! We're thrilled that you'd like to contribute to GCM :tada:. Your help is essential for keeping it great.
3
+
Hi there! We're thrilled that you'd like to contribute to GCM :tada:. Your help
4
+
is essential for keeping it great.
4
5
5
-
Contributions to GCM are [released][contribute-under-repo-license] to the public under the [project's open source license][license].
6
+
Contributions to GCM are [released][contribute-under-repo-license] to the public
7
+
under the [project's open source license][license].
6
8
7
-
Please note that this project is released with a [Contributor Code of Conduct][code-of-conduct]. By participating in this project you agree to abide by its terms.
9
+
Please note that this project is released with a
10
+
[Contributor Code of Conduct][code-of-conduct]. By participating in this project
11
+
you agree to abide by its terms.
8
12
9
13
## Start with an issue
10
14
11
15
1. Open an [issue][issue] to discuss the change you want to see.
12
-
This helps us coordinate and reduce duplication.
16
+
This helps us coordinate and reduce duplication.
13
17
1. Once we've had some discussion, you're ready to code!
14
18
15
19
## Submitting a pull request
@@ -19,20 +23,25 @@ This helps us coordinate and reduce duplication.
19
23
1. Make sure the tests pass on your machine: `dotnet test`
20
24
1. Create a new branch: `git switch -c my-branch-name`
21
25
1. Make your change, add tests, and make sure the tests still pass
22
-
1. For UI updates, test your changes by executing a `dotnet run` in applicable UI-related project directories:
26
+
1. For UI updates, test your changes by executing a `dotnet run` in applicable
27
+
UI-related project directories:
23
28
-`Atlassian.Bitbucket.UI.Avalonia`
24
29
-`GitHub.UI.Avalonia`
25
30
-`Atlassian.Bitbucket.UI.Windows`
26
31
-`GitHub.UI.Windows`
27
32
1. Organize your changes into one or more [logical, descriptive commits][commits].
28
33
1. Push to your fork and [submit a pull request][pr]
29
-
1. Pat your self on the back and wait for your pull request to be reviewed and merged.
34
+
1. Pat your self on the back and wait for your pull request to be reviewed and
35
+
merged.
30
36
31
-
Here are a few things you can do that will increase the likelihood of your pull request being accepted:
37
+
Here are a few things you can do that will increase the likelihood of your pull
38
+
request being accepted:
32
39
33
40
- Match existing code style.
34
41
- Write tests.
35
-
- Keep your change as focused as possible. If there are multiple changes you would like to make that are not dependent upon each other, consider submitting them as separate pull requests.
42
+
- Keep your change as focused as possible. If there are multiple changes you
43
+
would like to make that are not dependent upon each other, consider
Copy file name to clipboardExpand all lines: README.md
+60-25Lines changed: 60 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,15 +4,25 @@
4
4
5
5
---
6
6
7
-
[Git Credential Manager][gcm] (GCM) is a secure Git credential helper built on [.NET][dotnet] that runs on Windows, macOS, and Linux.
7
+
[Git Credential Manager][gcm] (GCM) is a secure Git credential helper built on
8
+
[.NET][dotnet] that runs on Windows, macOS, and Linux.
8
9
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, Bitbucket, and GitLab.
10
+
Compared to Git's [built-in credential helpers][git-tools-credential-storage]
11
+
(Windows: wincred, macOS: osxkeychain, Linux: gnome-keyring/libsecret) which
12
+
provides single-factor authentication support working on any HTTP-enabled Git
13
+
repository, GCM provides multi-factor authentication support for
14
+
[Azure DevOps][azure-devops], Azure DevOps Server (formerly Team Foundation
15
+
Server), GitHub, Bitbucket, and GitLab.
10
16
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.
17
+
Git Credential Manager (GCM) replaces the .NET Framework-based
18
+
[Git Credential Manager for Windows][gcm-for-windows] (GCM), and the Java-based
19
+
[Git Credential Manager for Mac and Linux][gcm-for-mac-and-linux] (Java GCM),
20
+
providing a consistent authentication experience across all platforms.
12
21
13
22
## Current status
14
23
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:
24
+
Git Credential Manager is currently available for Windows, macOS, and Linux\*.
25
+
GCM only works with HTTP(S) remotes; you can still use Git with SSH:
`arm64` support|best effort|✓|best effort, no packages
35
45
`armhf` support|_N/A_|_N/A_|best effort, no packages
36
46
37
-
(\*) GCM guarantees support for the below Linux distributions. GCM maintainers also monitor and evaluate issues opened against other distributions to determine community interest/engagement and whether an emerging platform should become fully-supported.
47
+
(\*) GCM guarantees support for the below Linux distributions. GCM maintainers
48
+
also monitor and evaluate issues opened against other distributions to determine
49
+
community interest/engagement and whether an emerging platform should become
#### Git Credential Manager for Mac and Linux (Java-based GCM)
63
77
64
-
If you have an existing installation of the 'Java GCM' on macOS and you have installed this using Homebrew, this installation will be unlinked (`brew unlink git-credential-manager`) when GCM is installed.
78
+
If you have an existing installation of the 'Java GCM' on macOS and you have
79
+
installed this using Homebrew, this installation will be unlinked
80
+
(`brew unlink git-credential-manager`) when GCM is installed.
We also provide a [.pkg installer][latest-release] with each release. To install, double-click the installation package and follow the instructions presented.
94
+
We also provide a [.pkg installer][latest-release] with each release. To install,
95
+
double-click the installation package and follow the instructions presented.
79
96
80
97
#### Uninstall
81
98
@@ -159,43 +176,55 @@ To uninstall:
159
176
160
177
[Follow these instructions][linux-uninstall] for your distribution.
161
178
162
-
**Note:** all Linux distributions [require additional configuration][gcm-credstores] to use GCM.
179
+
**Note:** all Linux distributions
180
+
[require additional configuration][gcm-credstores] to use GCM.
163
181
164
182
---
165
183
166
184
### Windows
167
185
168
-
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.
186
+
GCM is included with [Git for Windows][git-for-windows], and the latest version
187
+
is included in each new Git for Windows release. This is the preferred way to
188
+
install GCM on Windows. During installation you will be asked to select a
189
+
credential helper, with GCM being set as the default.
169
190
170
191
![image][git-for-windows-screenshot]
171
192
172
193
#### Standalone installation
173
194
174
-
You can also download the [latest installer][latest-release] for Windows to install GCM standalone.
195
+
You can also download the [latest installer][latest-release] for Windows to
196
+
install GCM standalone.
175
197
176
198
**:warning: Important :warning:**
177
199
178
-
Installing GCM as a standalone package on Windows will forcibly override the version of GCM that is bundled with Git for Windows, **even if the version bundled with Git for Windows is a later version**.
200
+
Installing GCM as a standalone package on Windows will forcibly override the
201
+
version of GCM that is bundled with Git for Windows, **even if the version
202
+
bundled with Git for Windows is a later version**.
179
203
180
204
There are two flavors of standalone installation on Windows:
181
205
182
206
- User (preferred) (`gcmuser-win*`):
183
207
184
-
Does not require administrator rights. Will install only for the current user and updates only the current user's Git configuration.
208
+
Does not require administrator rights. Will install only for the current user
209
+
and updates only the current user's Git configuration.
185
210
186
211
- System (`gcm-win*`):
187
212
188
-
Requires administrator rights. Will install for all users on the system and update the system-wide Git configuration.
213
+
Requires administrator rights. Will install for all users on the system and
214
+
update the system-wide Git configuration.
189
215
190
-
To install, double-click the desired installation package and follow the instructions presented.
216
+
To install, double-click the desired installation package and follow the
217
+
instructions presented.
191
218
192
219
#### Uninstall (Windows 10)
193
220
194
-
To uninstall, open the Settings app and navigate to the Apps section. Select "Git Credential Manager" and click "Uninstall".
221
+
To uninstall, open the Settings app and navigate to the Apps section. Select
222
+
"Git Credential Manager" and click "Uninstall".
195
223
196
224
#### Uninstall (Windows 7-8.1)
197
225
198
-
To uninstall, open Control Panel and navigate to the Programs and Features screen. Select "Git Credential Manager" and click "Remove".
226
+
To uninstall, open Control Panel and navigate to the Programs and Features
227
+
screen. Select "Git Credential Manager" and click "Remove".
199
228
200
229
#### Windows Subsystem for Linux (WSL)
201
230
@@ -218,16 +247,21 @@ Git that are not compatible.
218
247
- Git 2.26.2
219
248
220
249
This version of Git introduced a breaking change with parsing credential
221
-
configuration that GCM relies on. This issue was fixed in commit [`12294990`][gcm-commit-12294990]
222
-
of the Git project, and released in Git 2.27.0.
250
+
configuration that GCM relies on. This issue was fixed in commit
251
+
[`12294990`][gcm-commit-12294990] of the Git project, and released in Git
252
+
2.27.0.
223
253
224
254
## How to use
225
255
226
-
Once it's installed and configured, Git Credential Manager is called implicitly by Git.
227
-
You don't have to do anything special, and GCM isn't intended to be called directly by the user.
228
-
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.
229
-
(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.)
230
-
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.
256
+
Once it's installed and configured, Git Credential Manager is called implicitly
257
+
by Git. You don't have to do anything special, and GCM isn't intended to be
258
+
called directly by the user. For example, when pushing (`git push`) to
259
+
[Azure DevOps][azure-devops], [Bitbucket][bitbucket], or [GitHub][github], a
260
+
window will automatically open and walk you through the sign-in process. (This
261
+
process will look slightly different for each Git host, and even in some cases,
262
+
whether you've connected to an on-premises or cloud-hosted Git host.) Later Git
263
+
commands in the same repository will re-use existing credentials or tokens that
264
+
GCM has stored for as long as they're valid.
231
265
232
266
Read full command line usage [here][gcm-usage].
233
267
@@ -264,7 +298,8 @@ This project follows [GitHub's Open Source Code of Conduct][gcm-coc].
264
298
## License
265
299
266
300
We're [MIT][gcm-license] licensed.
267
-
When using GitHub logos, please be sure to follow the [GitHub logo guidelines][github-logos].
301
+
When using GitHub logos, please be sure to follow the
0 commit comments