mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 00:26:00 +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:
parent
1f6db5a934
commit
69e699ec23
1 changed files with 16 additions and 0 deletions
16
pages/common/git-credential.md
Normal file
16
pages/common/git-credential.md
Normal 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`
|
Loading…
Add table
Reference in a new issue