From 69e699ec238a59ae1f5a7923c006ce0f9cbd2d62 Mon Sep 17 00:00:00 2001 From: bl-ue <54780737+bl-ue@users.noreply.github.com> Date: Sat, 16 Jan 2021 11:02:36 -0500 Subject: [PATCH] git-credential: add page (#5115) * git-credential: add page * Apply suggestions from code review Co-authored-by: Starbeamrainbowlabs * Put quotes outside of token syntax * Update pages/common/git-credential.md Co-authored-by: Axel Navarro Co-authored-by: Starbeamrainbowlabs Co-authored-by: Axel Navarro --- pages/common/git-credential.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pages/common/git-credential.md diff --git a/pages/common/git-credential.md b/pages/common/git-credential.md new file mode 100644 index 000000000..cf0ccd4c6 --- /dev/null +++ b/pages/common/git-credential.md @@ -0,0 +1,16 @@ +# git credential + +> Retrieve and store user credentials. +> More information: . + +- 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`