Skip to content

Instantly share code, notes, and snippets.

@tatuas
tatuas / gist:6633769
Created September 20, 2013 05:51
gitで、特定のリビジョンから指定したファイルを取り出す方法
// リビジョン番号を確認
$ git log --oneline
// 標準出力からファイルに出力
$ git cat-file blob リビジョン番号:ファイル名 > 出力ファイル名