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