🐧 Linux 総合学習プラットフォーム
リポジトリ

git clone コマンド

git clone URL [DIR]

既存のリポジトリを履歴ごと手元に複製する。複製元は origin として自動登録される。

使用例

git clone https://example.com/repo.gitリモートを複製する
git clone https://example.com/repo.git myappmyapp という名前で複製する

関連する学習トピック

📖 リポジトリを作る(init / clone)📖 リモートと同期(remote / push / pull)

同じカテゴリのコマンド

git init

▶ 学習アプリで「git clone」を練習する