diff --git a/.gitconfig b/.gitconfig index 4da58098..ab74325d 100644 --- a/.gitconfig +++ b/.gitconfig @@ -203,6 +203,27 @@ # smudge = git media smudge %f # required = true +# ============================================================================ # +# C r e d e n t i a l s H e l p e r s +# ============================================================================ # + +# generated by git/git_remotes_set_https_creds_helpers.sh + +[credential "https://github.com"] + helper = "!f() { sleep 1; echo \"username=${GITHUB_USER}\"; echo \"password=${GH_TOKEN:-${GITHUB_TOKEN}}\"; }; f" + +[credential "https://gist.github.com"] + helper = "!f() { sleep 1; echo \"username=${GITHUB_USER}\"; echo \"password=${GH_TOKEN:-${GITHUB_TOKEN}}\"; }; f" + +[credential "https://gitlab.com"] + helper = "!f() { sleep 1; echo \"password=${GITLAB_TOKEN}\"; }; f" + +[credential "https://bitbucket.org"] + helper = "!f() { sleep 1; echo \"password=${BITBUCKET_TOKEN}\"; }; f" + +[credential "https://dev.azure.com"] + helper = "!f() { sleep 1; echo \"password=${AZURE_DEVOPS_TOKEN}\"; }; f" + # ============================================================================ # # A W S S e c r e t s # ============================================================================ #