Running git from Windows Cmd line: Where are key files?

北城余情 提交于 2019-11-29 21:07:37

To get the mysysgit command line to find the .ssh keys you'll need to have %HOME% point to the directory containing the .ssh folder

Often you can just do

set HOME=%USERPROFILE%

From a Windows DOS file, you need to define a %HOME% environment variable.

HOME doesn't exist in a DOS session by default.
You can set it to %userprofile%, since this is already your current setting.
You also can add it to your user environment variables, in order for any DOS session to get it.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!