WindowsのマシンでEgitで開発しようとしたらcygwinベースでgit(ssh)を使っている関係で http://github.com/guides/using-the-egit-eclipse-plugin-with-github のやり方が上手くいかない。 Egitからsshで接続するときにWindowsのHOMEフォルダの.ssh(C:\Users\makoto_kw\.ssh)を参照するけど、cygwinのHOMEフォルダ(C:\cygwin\home\makoto_kw\.ssh)に鍵が入ってるので認証できない。 先にgit cloneしてからプロジェクトを追加するやり方でもうまくいくようだ。 やり方 1. cygwinからgit cloneする git clone git@github.com:makotokw/php-twient.git 2. eclpseの新規プロ
![Windows(cygwin)とEgitでgithubからcloneして使う](https://cdn-ak-scissors.b.st-hatena.com/image/square/7a9afc244ec85af5bb08c9ef46574d0fbf64285e/height=288;version=1;width=512/https%3A%2F%2Fblog.makotokw.com%2Fwp-content%2Fthemes%2Fmakotokw2021%2Fassets%2Fimages%2Fogp_default.png)