Skip to content

Commit

Permalink
updated .gitconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
HariSekhon committed Jan 10, 2025
1 parent 54179a2 commit c3c31e0
Showing 1 changed file with 17 additions and 11 deletions.
28 changes: 17 additions & 11 deletions .gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -207,22 +207,28 @@
# C r e d e n t i a l s H e l p e r s
# ============================================================================ #

[credential]
helper = store

# remote: Support for password authentication was removed on August 13, 2021.
# remote: Please see https://docs.github.com/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.

# 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"
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"
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"
helper = "!f() { sleep 1; echo \"password=${GITLAB_TOKEN}\"; }; f"

[credential "https://bitbucket.org"]
helper = "!f() { sleep 1; echo \"password=${BITBUCKET_TOKEN}\"; }; f"
helper = "!f() { sleep 1; echo \"password=${BITBUCKET_TOKEN}\"; }; f"

[credential "https://dev.azure.com"]
helper = "!f() { sleep 1; echo \"password=${AZURE_DEVOPS_TOKEN}\"; }; f"
helper = "!f() { sleep 1; echo \"password=${AZURE_DEVOPS_TOKEN}\"; }; f"

# ============================================================================ #
# A W S S e c r e t s
Expand Down Expand Up @@ -268,10 +274,10 @@
# # having a blank helper before the real help prevents this error when pushing:
# # bad input: ..........
#[credential "https://source.developers.google.com/"]
# helper =
# helper = !gcloud auth git-helper --account=hari@<project>.iam.gserviceaccount.com --ignore-unknown $@
# helper =
# helper = !gcloud auth git-helper --account=hari@<project>.iam.gserviceaccount.com --ignore-unknown $@
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true

0 comments on commit c3c31e0

Please sign in to comment.