直近のコミットのハッシュを取得する

http://stackoverflow.com/questions/5694389/get-the-short-git-version-hash

git rev-parse --short HEAD

あるいは

git rev-parse --short HEAD | pbcopy