IT系/リファレンス/Gitコマンド/git_gc

Last-modified: 2020-06-11 (木) 03:47:08

git gc

不要なファイルをクリーンアップし、ローカルリポジトリを最適化するコマンド。

用例

  • xxx
    xxx
  • xxx
    xxx

書式

git gc [options]

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

git gc [--aggressive] [--auto] [--quiet] [--prune=<date> | --no-prune] [--force] [--keep-largest-pack]

options

/xxxx

etc.

説明

不要なファイルをクリーンアップし、ローカルリポジトリを最適化するコマンド。

関連

  • xxx

参考リンク

その他メモ

なにかあれば。