【发布时间】:2021-02-10 20:49:57
【问题描述】:
我已经安装了 PoshGit,并在 github 和 ~\.ssh 文件夹中设置了我的 RSA 密钥,但 PowerShell 仍然提示我在每次拉/推时输入密码。我已按照given here 的所有说明进行操作。我的 powershell 配置文件如下所示:
$env:path += ";" + (Get-Item "Env:ProgramFiles(x86)").Value + "\Git\bin"
. 'C:\Users\Caleb\Documents\WindowsPowerShell\Modules\posh-git\profile.example.ps1'
cd ~\Documents\GitHub\travefy
这就是发生的事情。如何让它只在启动时询问我?
【问题讨论】:
标签: git powershell posh-git