write-tree
NAME名
git-write-tree - Create a tree object from the current indexgit-write-tree - 現在のインデックスからツリーオブジェクトを作成する
SYNOPSIS概要
git write-tree [--missing-ok] [--prefix=<prefix>/]
DESCRIPTION説明
Creates a tree object using the current index. The name of the new tree object is printed to standard output.現在のインデックスを使ってツリーオブジェクトを作成します。新しいツリーオブジェクトの名前は標準出力に出力されます。
The index must be in a fully merged state.索引は完全にマージされた状態になければなりません。
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.概念的には、git write-tree sync()は現在のインデックスの内容を一連のツリーファイルにまとめます。現在のディレクトリに実際にあるものと一致させるには、git write-treeを実行する前にgit update-indexフェーズを実行しておく必要があります。
OPTIONSオプション
- --missing-ok
-
Normally git write-tree ensures that the objects referenced by the directory exist in the object database. This option disables this check.通常、git write-treeはディレクトリによって参照されるオブジェクトがオブジェクトデータベースに存在することを保証します。このオプションはこのチェックを無効にします。
- --prefix=<prefix>/ --prefix = <prefix> /
-
Writes a tree object that represents a subdirectory
<prefix>
. This can be used to write the tree object for a subproject that is in the named subdirectory.サブディレクトリを表すツリーオブジェクトを書き込みます<prefix>
。これは、指定されたサブディレクトリにあるサブプロジェクトのツリーオブジェクトを書くために使用できます。
GIT
Part of the git[1] suite一部のgit [1]スイート
スポンサーリンク
関連記事
- verify-pack
- update-ref
- update-index
- symbolic-ref
- show-ref
- rev-parse
- rev-list
- read-tree
- merge-base
- ls-files
- hash-object
- for-each-ref
- diff-index
- count-objects
- commit-tree
- checkout-index
- check-ignore
- cat-file
- bundle
- archive
- instaweb
- filter-branch
- reflog
- fsck
- gc
- clean
- Workflows
- Tutorial
- Revisions
- gitmodules
- gitignore
- githooks
- Glossary
- Everyday Git
- gitattributes
- update-server-info
- daemon
- fast-import
- svn
- request-pull
- send-email
- format-patch
- am
- grep
- blame
- bisect
- revert
- rebase
- cherry-pick
- apply
- describe
- shortlog
- show
- submodule
- remote
- push
- pull
- fetch
- worktree
- tag
- stash
- log
- mergetool
- merge
- checkout
- branch
- mv
- rm
- reset
- commit
- diff
- status
- add
- clone
- init
- help
- config
- git
スポンサーリンク