Autogenerated man pages for v1.3.0-rc2-g454a
[git.git] / man1 / git-write-tree.1
1 .\"Generated by db2man.xsl. Don't modify this, modify the source.
2 .de Sh \" Subsection
3 .br
4 .if t .Sp
5 .ne 5
6 .PP
7 \fB\\$1\fR
8 .PP
9 ..
10 .de Sp \" Vertical space (when we can't use .PP)
11 .if t .sp .5v
12 .if n .sp
13 ..
14 .de Ip \" List item
15 .br
16 .ie \\n(.$>=3 .ne \\$3
17 .el .ne 3
18 .IP "\\$1" \\$2
19 ..
20 .TH "GIT-WRITE-TREE" 1 "" "" ""
21 .SH NAME
22 git-write-tree \- Creates a tree object from the current index
23 .SH "SYNOPSIS"
24
25
26 git\-write\-tree [\-\-missing\-ok]
27
28 .SH "DESCRIPTION"
29
30
31 Creates a tree object using the current index\&.
32
33
34 The index must be in a fully merged state\&.
35
36
37 Conceptually, git\-write\-tree sync()s the current index contents into a set of tree files\&. In order to have that match what is actually in your directory right now, you need to have done a git\-update\-index phase before you did the git\-write\-tree\&.
38
39 .SH "OPTIONS"
40
41 .TP
42 \-\-missing\-ok
43 Normally git\-write\-tree ensures that the objects referenced by the directory exist in the object database\&. This option disables this check\&.
44
45 .SH "AUTHOR"
46
47
48 Written by Linus Torvalds <torvalds@osdl\&.org>
49
50 .SH "DOCUMENTATION"
51
52
53 Documentation by David Greaves, Junio C Hamano and the git\-list <git@vger\&.kernel\&.org>\&.
54
55 .SH "GIT"
56
57
58 Part of the \fBgit\fR(7) suite
59