mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-17 14:49:32 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
21
tldr/git-credential
Normal file
21
tldr/git-credential
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user