Documentation / git-write-tree.txton commit Make NO_{INET_NTOP,INET_PTON} configured independently (5a857c7)
   1git-write-tree(1)
   2=================
   3
   4NAME
   5----
   6git-write-tree - Create a tree object from the current index
   7
   8
   9SYNOPSIS
  10--------
  11'git write-tree' [--missing-ok] [--prefix=<prefix>/]
  12
  13DESCRIPTION
  14-----------
  15Creates a tree object using the current index. The name of the new
  16tree object is printed to standard output.
  17
  18The index must be in a fully merged state.
  19
  20Conceptually, 'git write-tree' sync()s the current index 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-index' phase before you did the
  24'git write-tree'.
  25
  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
  32        check.
  33
  34--prefix=<prefix>/::
  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.
  38
  39
  40Author
  41------
  42Written by Linus Torvalds <torvalds@osdl.org>
  43
  44Documentation
  45--------------
  46Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
  47
  48GIT
  49---
  50Part of the linkgit:git[1] suite