1git-write-tree(1) 2================= 3v0.1, May 2005 4 5NAME 6---- 7git-write-tree - Creates a tree object from the current cache 8 9 10SYNOPSIS 11-------- 12'git-write-tree' [--missing-ok] 13 14DESCRIPTION 15----------- 16Creates a tree object using the current cache. 17 18The cache must be merged. 19 20Conceptually, "git-write-tree" sync()s the current directory cache contents 21into a set of tree files. 22In order to have that match what is actually in your directory right 23now, you need to have done a "git-update-cache" phase before you did the 24"git-write-tree". 25 26OPTIONS 27------- 28--missing-ok:: 29 Normally "git-write-tree" ensures that the objects referenced by the 30 directory exist in the object database. This option disables this check. 31 32Author 33------ 34Written by Linus Torvalds <torvalds@osdl.org> 35 36Documentation 37-------------- 38Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>. 39 40GIT 41--- 42Part of the link:git.html[git] suite 43