remove GIT_SSH_COMMAND and document

This commit is contained in:
Oliver Harley 2023-02-05 13:41:33 +01:00
commit 3d499d77f1
No known key found for this signature in database
GPG key ID: A806A74FD73A8516
2 changed files with 1 additions and 1 deletions

View file

@ -76,6 +76,7 @@ require("lazy").setup({
```
It is recommended to run `:checkhealth lazy` after installation
It is recommended to config the env-arg `GIT_SSH_COMMAND`, or related [git config](https://git-scm.com/docs/git-config#Documentation/git-config.txt-coresshCommand) `core.sshCommand` with the corresponding non-interactive setting, `OpenSSH = -BatchMode=yes`, `plink.exe = -batch`
## 🔌 Plugin Spec

View file

@ -59,7 +59,6 @@ function M.spawn(cmd, opts)
local env = {
"GIT_TERMINAL_PROMPT=0",
"GIT_SSH_COMMAND=ssh -oBatchMode=yes",
}
if opts.env then
vim.list_extend(env, opts.env)