git - Is git show safe to use on binary files when the output is redirected to a file?
问题 I read that it's possible to retrieve a single file from a specific revision in Git, as answered in this SO question: How to retrieve a single file from specific revision in Git? So I want to know if it's safe to do that with binary files. I have some binary files in use and I don't want to check them out, really what I want to do is copy them out from a specific revision. I tried this: git show HEAD~1:database.db > copy-of-database-from-mmddyy.db That seems to work, as in the output is an