Use sensible domain name (the DNS one) when guessing ident information
[git/dscho.git] / Documentation / git-write-tree.txt
blob51be44d1f24cb3195fa1784b2f29b7c6f9392708
1 git-write-tree(1)
2 =================
4 NAME
5 ----
6 git-write-tree - Creates a tree object from the current cache
9 SYNOPSIS
10 --------
11 'git-write-tree' [--missing-ok]
13 DESCRIPTION
14 -----------
15 Creates a tree object using the current cache.
17 The cache must be merged.
19 Conceptually, "git-write-tree" sync()s the current directory cache contents
20 into a set of tree files.
21 In order to have that match what is actually in your directory right
22 now, you need to have done a "git-update-index" phase before you did the
23 "git-write-tree".
25 OPTIONS
26 -------
27 --missing-ok::
28         Normally "git-write-tree" ensures that the objects referenced by the
29         directory exist in the object database.  This option disables this check.
31 Author
32 ------
33 Written by Linus Torvalds <torvalds@osdl.org>
35 Documentation
36 --------------
37 Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
39 GIT
40 ---
41 Part of the gitlink:git[7] suite