Created
September 20, 2013 05:51
-
-
Save tatuas/6633769 to your computer and use it in GitHub Desktop.
gitで、特定のリビジョンから指定したファイルを取り出す方法
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// リビジョン番号を確認 | |
$ git log --oneline | |
// 標準出力からファイルに出力 | |
$ git cat-file blob リビジョン番号:ファイル名 > 出力ファイル名 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment