6 git-write-tree - Create a tree object from the current index
11 'git write-tree' [--missing-ok] [--prefix=<prefix>/]
15 Creates a tree object using the current index. The name of the new
16 tree object is printed to standard output.
18 The index must be in a fully merged state.
20 Conceptually, 'git write-tree' sync()s the current index contents
21 into a set of tree files.
22 In order to have that match what is actually in your directory right
23 now, you need to have done a 'git update-index' phase before you did the
30 Normally 'git write-tree' ensures that the objects referenced by the
31 directory exist in the object database. This option disables this
35 Writes a tree object that represents a subdirectory
36 `<prefix>`. This can be used to write the tree object
37 for a subproject that is in the named subdirectory.
41 Part of the linkgit:git[1] suite