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