SourceTreeでローカルリポジトリを作成する
- 作成日 2021.03.25
- 更新日 2022.09.28
- SourceTree
- SourceTree
![SourceTreeでローカルリポジトリを作成する](https://mebee.info/wp-content/uploads/2021/02/SourceTree-2-890x500.png)
gitのGUIクライアントSourceTreeを使ってローカルリポジトリを作成するまでの手順を掲載してます。
環境
- OS windows10 pro
- git 2.30.1
- SourceTree 3.4.3
ローカルリポジトリ作成
「ファイル」 > 「新規/クローンを作成する」 をクリックします。
![](https://mebee.info/wp-content/uploads/2021/03/image-29.png)
「Create」ボタンをクリックします。
![](https://mebee.info/wp-content/uploads/2021/03/SourceTree-5.png)
後は、必要な項目を入力して「作成」ボタンをクリックすれば、
ローカルリポジトリを作成することが可能です。
![](https://mebee.info/wp-content/uploads/2021/03/image-30.png)
すでにフォルダがある場合は、以下の警告が表示されます。
![](https://mebee.info/wp-content/uploads/2021/03/image-31.png)
「.git」フォルダが作成されます。
![](https://mebee.info/wp-content/uploads/2021/03/image-32.png)
gitコマンドで実行
「git init」を対象のフォルダで、実行すると同じことができます。
git init
<出力結果>
Initialized empty Git repository in C:/対象のフォルダ/.git/
-
前の記事
git 使用してるリモートリポジトリの「URL」を確認する 2021.03.25
-
次の記事
python openpyxlエラー「DeprecationWarning: Call to deprecated function get_sheet_by_name (Use wb[sheetname]).」の原因と対処法 2021.03.25
コメントを書く