記事一覧:2009年01月29日

Windows環境のGitでハマる

 なぜかWindows環境のGit(Cygwin使用)でリポジトリにアクセスできなくなる問題発生。CygwinのGitが入っているのに MsysGit もぶち込んでしまったからに違いない。

 ということで色々と格闘したのだが、どうやらPuTTYのキャッシュが悪さをしているような予感だったのでplink.exeでいったんリポジトリにアクセスしてみたら、直った。

c:\Program Files\PuTTY>plink.exe hylom@git.sourceforge.jp
Using username "hylom".
Linux sf-cvs 2.6.27.2-core2 #1 SMP Tue Oct 21 14:58:29 JST 2008 x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
This is a restricted shell account.
You cannot execute anything here.

 当たり前だが、git.sourceforge.jpにはSSHでログインはできるがすぐログアウトさせられる。