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" to update the cache
21 without modifying files in the work tree. When <type> is not
22 specified, it defaults to "blob".
28 Specify the type (default: "blob").
31 Actually write the object into the object database.
35 Written by Junio C Hamano <junkio@cox.net>
39 Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
43 Part of the gitlink:git[7] suite