GCM fix
This commit is contained in:
parent
96a4d2ce5f
commit
c5ce8107ac
2
setup.sh
2
setup.sh
@ -167,7 +167,7 @@ echo -e "${BLUE} LOG:${YELLOW} Configuring Git Credentials...${NC}"
|
|||||||
if grep -qEi "(Microsoft|WSL)" /proc/version &> /dev/null; then
|
if grep -qEi "(Microsoft|WSL)" /proc/version &> /dev/null; then
|
||||||
GCM_WIN="/mnt/c/Program Files/Git/mingw64/bin/git-credential-manager.exe"
|
GCM_WIN="/mnt/c/Program Files/Git/mingw64/bin/git-credential-manager.exe"
|
||||||
if [ -f "$GCM_WIN" ]; then
|
if [ -f "$GCM_WIN" ]; then
|
||||||
git config --global credential.helper "\"$GCM_WIN\""
|
git config --global credential.helper "! \"$GCM_WIN\""
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
# Linux Server: Cache credentials for 12 hour
|
# Linux Server: Cache credentials for 12 hour
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user