我在这样的脚本中克隆了一个 git 存储库:
git clone https://user:password@host.com/name/.git
这有效,但我的用户名和密码!现在存储在.git/config.
.git/config
我怎样才能防止这种情况,但仍然在脚本中执行此操作(因此无需手动输入密码)?
git
git ×1