change git:// protocol for accessing github to https:// protocol

https://github.blog/2021-09-01-improving-git-protocol-security-github/
This commit is contained in:
Axel Kohlmeyer
2021-11-02 14:14:08 -04:00
parent 21fcdf8c56
commit bd950b37d7
7 changed files with 11 additions and 11 deletions

View File

@ -8,12 +8,12 @@ fi
export GIT_CONFIG_COUNT=1
export GIT_CONFIG_KEY_0="url.$GITHUB_PROXY_DIR/.insteadOf"
export GIT_CONFIG_VALUE_0=git://github.com/
export GIT_CONFIG_VALUE_0=https://github.com/
echo "Redirecting git://github.com urls to local cache..."
echo "Redirecting https://github.com urls to local cache..."
function deactivate_git_cache {
echo "Removing git://github.com redirect..."
echo "Removing https://github.com redirect..."
unset GIT_CONFIG_COUNT
unset GIT_CONFIG_KEY_0
unset GIT_CONFIG_VALUE_0