增加 git 环境变量配置说明.

Signed-off-by: rick.chan <chenyang@autoai.com>
This commit is contained in:
rick.chan 2020-12-03 10:08:10 +08:00
parent 97291c6fd7
commit 6ba4c3965d
1 changed files with 11 additions and 1 deletions

View File

@ -470,7 +470,17 @@ git submodule deinit <submodule-name>
git rm <submodule-name>
```
## 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)