Documentation / git-write-tree.txton commit Documentation/git-worktree.txt: add missing ` (50fdf7b)
   1git-write-tree(1)
   2=================
   3
   4NAME
   5----
   6git-write-tree - Create a tree object from the current index
   7
   8
   9SYNOPSIS
  10--------
  11[verse]
  12'git write-tree' [--missing-ok] [--prefix=<prefix>/]
  13
  14DESCRIPTION
  15-----------
  16Creates a tree object using the current index. The name of the new
  17tree object is printed to standard output.
  18
  19The index must be in a fully merged state.
  20
  21Conceptually, 'git write-tree' sync()s the current index 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-index' phase before you did the
  25'git write-tree'.
  26
  27
  28OPTIONS
  29-------
  30--missing-ok::
  31        Normally 'git write-tree' ensures that the objects referenced by the
  32        directory exist in the object database.  This option disables this
  33        check.
  34
  35--prefix=<prefix>/::
  36        Writes a tree object that represents a subdirectory
  37        `<prefix>`.  This can be used to write the tree object
  38        for a subproject that is in the named subdirectory.
  39
  40GIT
  41---
  42Part of the linkgit:git[1] suite