From 890072aa60912e2d85f44c0235b61726d119fb2b Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sun, 11 Nov 2012 20:30:11 -0500 Subject: [PATCH] posts:git:notes: add cat-file example --- posts/Git/notes.org | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/posts/Git/notes.org b/posts/Git/notes.org index 9990daa..accc19d 100644 --- a/posts/Git/notes.org +++ b/posts/Git/notes.org @@ -1400,6 +1400,16 @@ Now merge with a particular strategy. There are more details about the available merge strategies in =git notes --help=. +** Printing a file + +You can =cat= a file from an arbitraty revision using + + : $ git cat-file blob : + +For example, + + : $ git cat-file blob master:README + * Troubleshooting ** Git commit hangs with no output -- 2.26.2