--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>\r
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">\r
+\r
+<article lang="en" id="git-write-tree(1)">\r
+<articleinfo>\r
+ <title>git-write-tree(1)</title>\r
+ <indexterm>\r
+ <primary>git-write-tree(1)</primary>\r
+ </indexterm>\r
+</articleinfo>\r
+<simplesect id="_name">\r
+<title>NAME</title>\r
+<simpara>git-write-tree - Create a tree object from the current index</simpara>\r
+</simplesect>\r
+<simplesect id="_synopsis">\r
+<title>SYNOPSIS</title>\r
+<simpara><emphasis>git write-tree</emphasis> [--missing-ok] [--prefix=<prefix>/]</simpara>\r
+</simplesect>\r
+<simplesect id="_description">\r
+<title>DESCRIPTION</title>\r
+<simpara>Creates a tree object using the current index.</simpara>\r
+<simpara>The index must be in a fully merged state.</simpara>\r
+<simpara>Conceptually, <emphasis>git-write-tree</emphasis> sync()s the current index contents\r
+into a set of tree files.\r
+In order to have that match what is actually in your directory right\r
+now, you need to have done a <emphasis>git-update-index</emphasis> phase before you did the\r
+<emphasis>git-write-tree</emphasis>.</simpara>\r
+</simplesect>\r
+<simplesect id="_options">\r
+<title>OPTIONS</title>\r
+<variablelist>\r
+<varlistentry>\r
+<term>\r
+--missing-ok\r
+</term>\r
+<listitem>\r
+<simpara>\r
+ Normally <emphasis>git-write-tree</emphasis> ensures that the objects referenced by the\r
+ directory exist in the object database. This option disables this\r
+ check.\r
+</simpara>\r
+</listitem>\r
+</varlistentry>\r
+<varlistentry>\r
+<term>\r
+--prefix=<prefix>/\r
+</term>\r
+<listitem>\r
+<simpara>\r
+ Writes a tree object that represents a subdirectory\r
+ <literal><prefix></literal>. This can be used to write the tree object\r
+ for a subproject that is in the named subdirectory.\r
+</simpara>\r
+</listitem>\r
+</varlistentry>\r
+</variablelist>\r
+</simplesect>\r
+<simplesect id="_author">\r
+<title>Author</title>\r
+<simpara>Written by Linus Torvalds <<ulink url="mailto:torvalds@osdl.org">torvalds@osdl.org</ulink>></simpara>\r
+</simplesect>\r
+<simplesect id="_documentation">\r
+<title>Documentation</title>\r
+<simpara>Documentation by David Greaves, Junio C Hamano and the git-list <<ulink url="mailto:git@vger.kernel.org">git@vger.kernel.org</ulink>>.</simpara>\r
+</simplesect>\r
+<simplesect id="_git">\r
+<title>GIT</title>\r
+<simpara>Part of the <xref linkend="git(1)"/> suite</simpara>\r
+</simplesect>\r
+</article>\r