Giter Club home page Giter Club logo

git-credential-manager-for-mac-and-linux's Introduction

Git Credential Manager for Mac and Linux

Stores credentials for Git version control securely. Provides secure logon for Visual Studio Team Services (visualstudio.com).

License

This source code and artifacts are released under the terms of the MIT License.

Build status

This project has continuous integration hosted by Travis CI: Build Status

How does it work?

Once configured with Git, if Git needs credentials for reading from or writing to a Git remote, it sends a request to the program(s) configured as credential.helper, as described in gitcredentials. If none of the credential helpers have valid credentials, Git will prompt for a username and password and then ask the credential helper(s) to save the values for later retrieval.

On Mac OS X, the GCM stores credentials in the Keychain. On Linux, the GCM currently stores credentials in the file insecureStore.xml, located in the git-credential-manager sub-folder under your HOME folder. You can make this file more secure by turning on file or folder encryption, if your system supports it. Support for the GNOME Keyring is planned.

If you are connecting to a Git repository hosted in a VSTS account, the GCM will attempt to open a web browser window so you can authenticate and authorize access to your account (via OAuth 2.0). If a web browser cannot be opened (because the system is headless, accessed via SSH or doesn't have the required components), instructions will be provided to use a web browser on another device (via OAuth 2.0 Device Flow) so you can authenticate and authorize access to your account. In either case, the credential manager will then use the access token to create a VSTS Personal Access Token (PAT) scoped for vso.code_write, effectively granting Git permission to read and write to your Git repositories hosted in VSTS.

If you are connecting to Git repositories hosted elsewhere, the GCM works a lot like git-credential-store and will store & retrieve your username & password.

How do I install it?

Follow the instructions in Install.md.

How do I build it?

If you have version 6 or better of the JDK, as well as version 3 or better of Maven, you're all set! Run the following:

mvn clean verify

This will download the dependencies, compile the code, run unit tests, and package everything. You should end up with a file named something like git-credential-manager-VERSION.jar under the target sub-folder.

How can I contribute?

Please refer to Contributing.md.

How can I find out more?

Visit the Git Credential Manager page or browse the source code on GitHub.

git-credential-manager-for-mac-and-linux's People

Contributors

leantk avatar olivierdagenais avatar davidstaheli avatar kernhanda avatar yacaovsnc avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.