Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonMa0012 committed Nov 4, 2024
1 parent 54d6169 commit e99c0ff
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions _0_3_Cancel_CMD_And_Git_Proxy.bat
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@ chcp 65001
rem :: Ask user if they want to unset previously set proxy
echo.
echo ========================================================
echo 是否需要取消设置代理?
echo Do you want to unset the proxy?
echo ========================================================
echo.
set /p userChoiceCancel=请输入y/n / Please enter y/n:
set /p userChoiceCancel=Please enter y/n:
echo.

if /I "!userChoiceCancel!"=="y" (
Expand All @@ -19,7 +18,6 @@ if /I "!userChoiceCancel!"=="y" (
set https_proxy=

echo.
echo CMD代理已取消
echo CMD proxy has been unset.
echo.

Expand All @@ -28,7 +26,6 @@ if /I "!userChoiceCancel!"=="y" (
git config --global --unset https.proxy

echo.
echo Git代理已取消
echo Git proxy has been unset.
echo.
)
Expand Down

0 comments on commit e99c0ff

Please sign in to comment.