Add "git checkout" that does what the name suggests
[git.git] / Documentation / git-write-tree.txt
blob458d97ac986ff7324c105b5fe0222507ce514f04
1 git-write-tree(1)
2 =================
3 v0.1, May 2005
5 NAME
6 ----
7 git-write-tree - Creates a tree from the current cache
10 SYNOPSIS
11 --------
12 'git-write-tree'
14 DESCRIPTION
15 -----------
16 Creates a tree object using the current cache.
18 The cache must be merged.
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".
29 ////////////////////////////////////////////////////////////////
31 Producing man pages and html
33 To create a set of html pages run:
34   perl split-docs.pl -html < core-git.txt
36 To create a set of man pages run:
37   perl split-docs.pl -man < core-git.txt
40 ////////////////////////////////////////////////////////////////
41 Author
42 ------
43 Written by Linus Torvalds <torvalds@osdl.org>
45 Documentation
46 --------------
47 Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
49 GIT
50 ---
51 Part of the link:git.html[git] suite