gitのhttpパスワード

gitでhttpを使う場合、毎回パスワードを聞かれるのが面倒だったのでちょっと調べてみた。

windowsのmsysgitはwincredを使うらしい。

$ git config --global credential.helper wincred

これでok。

追記

http://orangeclover.hatenablog.com/entry/2014/01/15/215758

どうやら msysgit-1.8.5.2 だとエラーになるっぽい。ちょっとハマった。