IT系/リファレンス/Gitコマンド/git_hash-object

Last-modified: 2020-06-11 (木) 03:58:57

git hash-object

オブジェクトIDを計算し、オプションでファイルからblobを作成するコマンド。

用例

  • xxx
    xxx
  • xxx
    xxx

書式

git hash-object [options] <file>

公式によると以下の通り。

git hash-object [-t <type>] [-w] [--path=<file>|--no-filters] [--stdin [--literally]] [--] <file>…
git hash-object [-t <type>] [-w] --stdin-paths [--no-filters]

options

/xxxx

etc.

説明

オブジェクトIDを計算し、オプションでファイルからblobを作成するコマンド。

関連

  • xxx

参考リンク

その他メモ

なにかあれば。