7 git-hash-object - Computes object ID and optionally creates a blob from a file.
12 'git-hash-object' [-t <type>] [-w] <any-file-on-the-filesystem>
16 Computes the object ID value for an object with specified type
17 with the contents of the named file (which can be outside of the
18 work tree), and optionally writes the resulting object into the
19 object database. Reports its object ID to its standard output.
20 This is used by "git-cvsimport-script" to update the cache
21 without modifying files in the work tree. When <type> is not
22 specified, it defaults to "blob".
27 Written by Junio C Hamano <junkio@cox.net>
31 Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
35 Part of the link:git.html[git] suite