mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-14 01:48:22 +00:00
Update cheatsheets
This commit is contained in:
21
git-credential
Normal file
21
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