From 6ba4c3965d1e75c400d5179af0e0810a683c66f7 Mon Sep 17 00:00:00 2001 From: "rick.chan" Date: Thu, 3 Dec 2020 10:08:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20git=20=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E5=8F=98=E9=87=8F=E9=85=8D=E7=BD=AE=E8=AF=B4=E6=98=8E.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: rick.chan --- Software/Applications/Git/Git_使用说明.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Software/Applications/Git/Git_使用说明.md b/Software/Applications/Git/Git_使用说明.md index 9c7fba8..def11bf 100644 --- a/Software/Applications/Git/Git_使用说明.md +++ b/Software/Applications/Git/Git_使用说明.md @@ -470,7 +470,17 @@ git submodule deinit git rm ``` -## 16.外部参考资料 +## 16.环境变量 + +### 16.1.GIT_TERMINAL_PROMPT + +该变量设置是否允许 git 在终端中弹出提示,如 https 的用户密码输入提示等。如果 git clone 时出现:“terminal prompts disabled”字样,可在终端中进行如下设置: + +```bash +GIT_TERMINAL_PROMPT=1 +``` + +## 17.外部参考资料 1. [Pro Git](https://git-scm.com/book/zh/v2) 2. [Git Reference Manual](https://git-scm.com/docs)