X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=Documentation%2Fgit-write-tree.txt;h=c85fa89c30e25ed026d2e95a2b537798f878e50f;hb=HEAD;hp=77e12cb949201445ab33992f9ff155f647ce167c;hpb=d69dc373cbf58d88d19dcbc6cff37e12b17f8fd2;p=git.git diff --git a/Documentation/git-write-tree.txt b/Documentation/git-write-tree.txt index 77e12cb9..c85fa89c 100644 --- a/Documentation/git-write-tree.txt +++ b/Documentation/git-write-tree.txt @@ -8,7 +8,7 @@ git-write-tree - Creates a tree object from the current index SYNOPSIS -------- -'git-write-tree' [--missing-ok] +'git-write-tree' [--missing-ok] [--prefix=/] DESCRIPTION ----------- @@ -30,6 +30,12 @@ OPTIONS directory exist in the object database. This option disables this check. +--prefix=/:: + Writes a tree object that represents a subdirectory + ``. This can be used to write the tree object + for a subproject that is in the named subdirectory. + + Author ------ Written by Linus Torvalds