|
| 1 | +# Frequently asked questions |
| 2 | + |
| 3 | +## Authentication problems |
| 4 | + |
| 5 | +### Q: I got an error trying to push/pull/clone. What do I do now? |
| 6 | + |
| 7 | +Please follow these steps to diagnose or resolve the problem: |
| 8 | + |
| 9 | +1. Check if you can access the remote repository in a web browser. If you cannot, this is probably a permission problem and you should follow up with the repository administrator for access. Execute `git remote -v` from a terminal to show the remote URL. |
| 10 | + |
| 11 | +1. If you are experiencing a Git authentication problem using an editor, IDE or other tool, try performing the same operation from the terminal. Does this still fail? If the operation succeeds from the terminal please include details of the specific tool and version in any issue reports. |
| 12 | + |
| 13 | +1. Set the environment variable `GCM_TRACE` and run the Git operation again. Find instructions [here](environment.md#GCM_TRACE). |
| 14 | + |
| 15 | +1. If all else fails, create an issue [here](https://github.com/Microsoft/Git-Credential-Manager-Core/issues/create), making sure to include the trace log. |
| 16 | + |
| 17 | +### Q: I got an error saying unsecure HTTP is not supported. |
| 18 | + |
| 19 | +To keep your data secure, Git Credential Manager Core will not send credentials for Azure Repos, Azure DevOps Server (TFS), GitHub, and BitBucket, over HTTP connections that are not secured using TLS (HTTPS). |
| 20 | + |
| 21 | +Please make sure your remote URLs use "https://" rather than "http://". |
| 22 | + |
| 23 | +## About the project |
| 24 | + |
| 25 | +### Q: How does project this relate to [Git Credential Manager for Windows](https://github.com/Microsoft/Git-Credential-Manager-for-Windows) and [Git Credential Manager for Mac and Linux](https://github.com/Microsoft/Git-Credential-Manager-for-Mac-and-Linux)? |
| 26 | + |
| 27 | +Git Credential Manager for Windows (GCM Windows) is a .NET Framework-based Git credential helper which runs on Windows. |
| 28 | +Likewise the Git Credential Manager for Mac and Linux (Java GCM) is a Java-based Git credential helper that runs only on macOS and Linux. Although both of these projects aim to solve the same problem (providing seamless multi-factor HTTPS authentication with Git), they are based on different codebases and languages which is becoming hard to manage to ensure feature parity. |
| 29 | + |
| 30 | +Git Credential Manager Core (GCM Core; this project) aims to replace both GCM Windows and Java GCM with a unified codebase which should be easier to maintain and enhance in the future. |
| 31 | + |
| 32 | +### Q: Does this mean GCM for Windows (.NET Framework-based) is deprecated? |
| 33 | + |
| 34 | +No. Git Credential Manager for Windows (GCM Windows) will continue to be supported until such a time that GCM Core is a complete replacement. |
| 35 | + |
| 36 | +### Q: Does this mean the Java-based GCM for Mac/Linux is deprecated? |
| 37 | + |
| 38 | +Yes. Usage of Git Credential Manager for Mac and Linux (Java GCM) should be replaced with SSH keys. If you wish to take part in the public preview of GCM Core on macOS please feel free to install the latest preview release and give feedback! Otherwise, using SSH would be prefered on macOS and Linux to Java GCM. |
| 39 | + |
| 40 | +SSH configuration instructions: |
| 41 | + |
| 42 | +- [Azure DevOps](https://docs.microsoft.com/en-us/azure/devops/repos/git/use-ssh-keys-to-authenticate?view=azure-devops) |
| 43 | +- [GitHub](https://help.github.com/en/articles/connecting-to-github-with-ssh) |
| 44 | +- [BitBucket](https://confluence.atlassian.com/bitbucket/ssh-keys-935365775.html) |
| 45 | + |
| 46 | +### Q: Why did you not just port the existing GCM Windows codebase from .NET Framework to .NET Core? |
| 47 | + |
| 48 | +GCM Windows was not designed a with cross-platform architecture. |
| 49 | + |
| 50 | +### What level of support does GCM Core have during the public preview? |
| 51 | + |
| 52 | +Support will be best-effort. We would really appreciate your feedback as we work to make this a great experience across each platform we support. However, for mission critical applications, please use GCM for Windows on Windows or SSH on Mac and Linux. |
| 53 | + |
| 54 | +### Q: Why does GCM Core not support operating system/distribution 'X', or Git hosting provider 'Y'? |
| 55 | + |
| 56 | +The likely answer is we haven't gotten around to that yet! 🙂 |
| 57 | + |
| 58 | +We are working on ensuring support for the Windows, macOS, and Ubuntu operating system, as well as the following Git hosting providers: Azure Repos, Azure DevOps Server (TFS), GitHub, and BitBucket. |
| 59 | + |
| 60 | +We are happy to accept proposals and/or contributions to enable GCM Core to run on other platforms and Git host providers. Thank you! |
0 commit comments