On Fri, Jul 17, 2020 at 07:32:34AM -0500, lbd...@gmail.com wrote: > My quandary: I want to retrieve a copy of an element from a previous commit. [...] > I've tried: git show <hash>:<file> > /tmp/file > > And it works GREAT for text based elements. For binary elements the results > are useless.
Can you explain _why_ they are useless? The indicated command streams the contents of the named file as recorded in the named commit to a file. The stream gets saved no matter whether you consider the file to be textual or binary - as on contemporary commodity operating systems such distinction does not exist. I mean, whether a file contains textual or binary data is strictly a matter of interpretation. So what the problem really is? I think we could provide better advice if we'd know. [...] -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/git-users/20200717155244.5oqczevzrs4ulq7y%40carbon.