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

后端 未结 2 1322
孤街浪徒
孤街浪徒 2020-12-23 14:45

So I\'ve installed msysgit, and run git successfuly from the bash shell.

From within the bash shell, I\'ve created keys with ssh-keygen - everything wor

2条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-23 15:29

    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%
    

提交回复
热议问题