the `gh` cli now has a credential helper for `git`. instead of this ``` git config --global credential.helper '!f() { sleep 1; echo "username=${GITHUB_USER}"; echo "password=${GH_TOKEN}"; }; f' ``` you can now run this ``` git config --global credential.helper '!gh auth git-credential' ``` source: https://github.com/cli/cli/pull/2449#issuecomment-732382105
the
ghcli now has a credential helper forgit.instead of this
you can now run this
source: cli/cli#2449 (comment)