Add getting an older version of a file
authorSiraaj Khandkar <siraaj@khandkar.net>
Wed, 26 Oct 2016 20:33:52 +0000 (16:33 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Wed, 26 Oct 2016 20:33:52 +0000 (16:33 -0400)
README.md

index 81c0cb1..f23a068 100644 (file)
--- a/README.md
+++ b/README.md
@@ -63,3 +63,11 @@ do
     git push $REMOTE_NAME :refs/tags/$tag
 done
 ```
+
+
+Get an older version of a file
+------------------------------
+
+```sh
+git cat-file -p $COMMIT_DIGEST:$FILE_PATH
+```
This page took 0.028041 seconds and 4 git commands to generate.