[PATCH] add --missing-ok option to write-tree
[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'
13                 [--missing-ok]
14
15 DESCRIPTION
16 -----------
17 Creates a tree object using the current cache.
18
19 The cache must be merged.
20
21 Conceptually, "git-write-tree" sync()s the current directory cache contents
22 into a set of tree files.
23 In order to have that match what is actually in your directory right
24 now, you need to have done a "git-update-cache" phase before you did the
25 "git-write-tree".
26
27 OPTIONS
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
36 Producing man pages and html
37
38 To create a set of html pages run:
39   perl split-docs.pl -html < core-git.txt
40
41 To create a set of man pages run:
42   perl split-docs.pl -man < core-git.txt
43
44
45 ////////////////////////////////////////////////////////////////
46 Author
47 ------
48 Written by Linus Torvalds <torvalds@osdl.org>
49
50 Documentation
51 --------------
52 Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
53
54 GIT
55 ---
56 Part of the link:git.html[git] suite
57