git で cwd のカレントリビジョンを取得する

git show --format='%H' -s

とかでとれる。

miyagawa++ yappo++

Published: 2010-02-24(Wed) 11:05