git credential
Retrieve and store user credentials. More information: https://git-scm.com/docs/git-credential.
-
Display credential information, retrieving the username and password from configuration files:
echo "{{url=http://example.com}}" | git credential fill
-
Send credential information to all configured credential helpers to store for later use:
echo "{{url=http://example.com}}" | git credential approve
-
Erase the specified credential information from all the configured credential helpers:
echo "{{url=http://example.com}}" | git credential reject
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.