LoginSignup
5
5

More than 3 years have passed since last update.

git clone 方法

Posted at

手順

1. GitHubでリポジトリのメインページにアクセス

2. Codeボタンをクリック

image.png

3. URLをコピー

image.png

4. ターミナルを開く

5. カレントワーキングディレクトリをディレクトリをクローンしたい場所に変更

6. git clone と入力して前の手順でコピーしたURLを貼り付ける

例)

$ git clone https://github.com/YOUR-USERNAME/YOUR-REPOSITORY

7. Enterを押してローカルクローンを作成

例)

$ git clone https://github.com/YOUR-USERNAME/YOUR-REPOSITORY
> Cloning into `Spoon-Knife`...
> remote: Counting objects: 10, done.
> remote: Compressing objects: 100% (8/8), done.
> remove: Total 10 (delta 1), reused 10 (delta 1)
> Unpacking objects: 100% (10/10), done.

参考記事

5
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
5