最終更新:2023-12-05 (火) 04:57:19 (143d)  

git clone --depth 1
Top / git clone --depth 1

最新版だけ取得

git clone --depth 1 https://github.com/git/git

メモ

  • オプション depth に渡す値は、取得する履歴の数

参考