4c7db5f59ad39ccf42ef2e85f2d40a4ffc03bd1b
   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
  33
  34////////////////////////////////////////////////////////////////
  35
  36Producing man pages and html
  37
  38To create a set of html pages run:
  39  perl split-docs.pl -html < core-git.txt
  40
  41To create a set of man pages run:
  42  perl split-docs.pl -man < core-git.txt
  43
  44
  45////////////////////////////////////////////////////////////////
  46Author
  47------
  48Written by Linus Torvalds <torvalds@osdl.org>
  49
  50Documentation
  51--------------
  52Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
  53
  54GIT
  55---
  56Part of the link:git.html[git] suite
  57