1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-06 12:26:03 +02:00

git-credential: add page (#5115)

* git-credential: add page

* Apply suggestions from code review

Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>

* Put quotes outside of token syntax

* Update pages/common/git-credential.md

Co-authored-by: Axel Navarro <navarroaxel@gmail.com>

Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
Co-authored-by: Axel Navarro <navarroaxel@gmail.com>
This commit is contained in:
bl-ue 2021-01-16 11:02:36 -05:00 committed by GitHub
parent 1f6db5a934
commit 69e699ec23
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,16 @@
# 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`