1 .\"Generated by db2man.xsl. Don't modify this, modify the source.
10 .de Sp \" Vertical space (when we can't use .PP)
16 .ie \\n(.$>=3 .ne \\$3
20 .TH "GIT-WRITE-TREE" 1 "" "" ""
22 git-write-tree \- Creates a tree object from the current index
26 git\-write\-tree [\-\-missing\-ok]
31 Creates a tree object using the current index\&.
34 The index must be in a fully merged state\&.
37 Conceptually, git\-write\-tree sync()s the current index contents into a set of tree files\&. In order to have that match what is actually in your directory right now, you need to have done a git\-update\-index phase before you did the git\-write\-tree\&.
43 Normally git\-write\-tree ensures that the objects referenced by the directory exist in the object database\&. This option disables this check\&.
48 Written by Linus Torvalds <torvalds@osdl\&.org>
53 Documentation by David Greaves, Junio C Hamano and the git\-list <git@vger\&.kernel\&.org>\&.
58 Part of the \fBgit\fR(7) suite