---
title: "外部サブバージョンクライアント - プロジェクトおよびMQL5ストレージ - MetaEditorのヘルプ"
description: "MQL5 Algo Forgeは、Gitベースのストレージシステムです。 最初のステップ を完了した後は（Gitを インストール後） お使いのコンピューター上で、任意の外部Gitクライアントの使用を開始できます。... - 外部サブバージョンクライアント - プロジェクトおよびMQL5ストレージ - MetaEditorのヘルプ"
image: "https://www.metatrader5.com/i/logo_metatrader5.png"
url: "https://www.metatrader5.com/ja/metaeditor/help/mql5storage/mql5storage_external_client"
---

[MetaEditorのヘルプ](https://www.metatrader5.com/ja/metaeditor/help) → [プロジェクトおよびMQL5ストレージ](https://www.metatrader5.com/ja/metaeditor/help/mql5storage) → 外部サブバージョンクライアント

# 外部Gitクライアント

MQL5 Algo Forgeは、Gitベースのストレージシステムです。 [最初のステップ](https://www.metatrader5.com/ja/metaeditor/help/mql5storage/mql5storage_connect) を完了した後は（Gitを [インストール後）](https://git-scm.com/install/) お使いのコンピューター上で、任意の外部Gitクライアントの使用を開始できます。

最も人気のあるGitクライアントには以下が含まれます。 [TortoiseGit](https://tortoisegit.org/)、[GitHub Desktop](https://github.com/apps/desktop)、[Visual Studio Code](https://code.visualstudio.com/) 内蔵 [Git統合](https://code.visualstudio.com/docs/sourcecontrol/overview)、[GitKraken](https://www.gitkraken.com/)、[Sourcetree](https://www.sourcetreeapp.com/)、その他。これらのプログラムを使えば、Gitコマンドの実行、競合の解決、複雑なタスクの処理が簡単に行えます。

MetaEditorはデフォルトでは、特定のフォルダに対してのみGitを有効にします。これらのフォルダとその仕組みを理解することは非常に重要です。MetaEditorの上部メニューで[ファイル]をクリックし、[データフォルダを開く]を選択します。

![データフォルダを開く](https://www.metatrader5.com/i/help/metaeditor/en/open_data_folder_menu_option.png)

ファイルエクスプローラで、お使いの端末のインスタンスに移動します。[ MQL5 ]フォルダはそこに表示されるはずです。

![ターミナルインスタンスのフォルダの場所](https://www.metatrader5.com/i/help/metaeditor/en/terminal_instance_folder_file_explorer.png)

## MQL5フォルダ [#](#mql5_folder)

[ MQL5 ]ディレクトリは、アルゴリズムの主要なデータフォルダです。デフォルトでは、 MQL5 ディレクトリは、明示的に追加しない限り、Gitによって追跡されません。MetaEditorのナビゲータで、 [追加コマンドを](https://www.metatrader5.com/ja/metaeditor/help/mql5storage/mql5storage_working#add) [ MQL5 ]下のファイルまたはフォルダで実行すると、アイテムはコミットとして追加され、リモート mql5 リポジトリにプッシュされます。

![ファイルエクスプローラのMQL5フォルダ](https://www.metatrader5.com/i/help/metaeditor/en/mql5_folder_file_explorer.png)

[ MQL5 ]ディレクトリは、MQL5 Algo Forge Webサイト上のあなたのアカウントにあるリモート mql5 リポジトリに接続された、プライベートリポジトリとして機能します。

![MQL5リポジトリのWebページ](https://www.metatrader5.com/i/help/metaeditor/en/mql5_repository_website.png)

## 共有プロジェクトフォルダ [#](#shared_projects_folder)

[ Shared Projects ]ディレクトリは MQL5 フォルダのルートにありますが、その内容は格納元のリポジトリとは独立しています。[ Shared Projects ]フォルダには個々のリポジトリが格納されており、それぞれに独自の.gitフォルダ、ブランチなどが含まれています。

MQL5 Algo Forge Webサイトで [公開プロジェクトをフォークする](https://www.metatrader5.com/ja/metaeditor/help/mql5storage/mql5storage_merging#forking_projects) と、フォークしたコピーは、あなたのアカウント配下にある独立したリポジトリになります。

![フォークされたコピーWebページ](https://www.metatrader5.com/i/help/metaeditor/en/forked_copy_website.png)

MetaEditorで [Shared Projects](https://www.metatrader5.com/ja/metaeditor/help/mql5storage/projects#shared) を更新すると、そこに新しいリポジトリが表示されます。[***](https://www.metatrader5.com/ja/metaeditor/help/mql5storage/mql5storage_merging#cloning_projects) 新しいリポジトリをクローンすると、プロジェクトファイルをダウンロードしてローカルのShared Projectsフォルダに保存します。

![ファイルエクスプローラの共有プロジェクト](https://www.metatrader5.com/i/help/metaeditor/en/shared_projects_folder_file_explorer.png)

## ローカルGit設定 [#](#local_git_configuration)

変更をコミットする際、MetaEditorはMQL5ログインをGit user.name 、your-mql5-login@forge.mql5.ioを user.email として使用します。ただし、外部のGitクライアントは、デフォルトでグローバルなGit設定を使用します。

外部Gitクライアントを介して最初のコミットを行う前に、各ローカルリポジトリについて、 user.name と user.email に、MetaEditorで使用されるものと同じ詳細情報を指定します。これにより、コミットの誤った帰属や関連する問題を防ぐことができます。

任意のターミナルを開き、以下のコマンドを使用してリポジトリに移動します。

```
cd /path/to/your/repository
```

名前を設定するには、以下のコマンドを実行します。

```
git config user.name "your-mql5-login"
```

メールアドレスを設定するには、以下のコマンドを実行します。

```
git config user.email "your-mql5-login@forge.mql5.io"
```

あるいは、Gitクライアントに組み込まれているUIツールを使用して、プロジェクトのローカルGit設定を行うこともできます。Gitクライアントのドキュメントを参照してください（[TortoiseGit](https://tortoisegit.org/docs/tortoisegit/tgit-dug-settings.html#tgit-dug-settings-config)、[GitHub Desktop](https://docs.github.com/en/desktop/configuring-and-customizing-github-desktop/configuring-git-for-github-desktop#configuring-different-author-information-for-an-individual-repository)、[GitKraken](https://www.gitkraken.com/learn/git/git-config#git-config-with-gitkraken-desktop)）。

## MQL5 Algo Forgeの資格情報 [#](#credentials_mql5_algo_forge)

MetaEditorは、MQL5 Algo Forgeのリモートサーバーとやり取りする際に、アクティブなMQL5セッションを自動的に使用します。ただし、外部のGitクライアントは、変更のプルやプッシュなど、リモートとの通信が必要な場合に、資格情報を要求します。

Gitクライアントで資格情報の入力を求められたら、MQL5のログインIDとパスワードを入力してください。次に何が起こるかは、Gitクライアントまたはそのバージョンによって異なります。

TortoiseGit、VS Code、GitHub Desktopなど、多くのGitクライアントは、組み込みのGit資格情報マネージャー（GCM）を使用して資格情報を保存しようとします。成功した場合、資格情報はWindowsネイティブの資格情報マネージャーに渡され、保存されます。

![Windows資格情報マネージャーウィンドウ](https://www.metatrader5.com/i/help/metaeditor/en/windows_credential_manager.png)

[TortoiseGit](https://tortoisegit.org/docs/tortoisegit/tgit-dug-settings.html#tgit-dug-settings-credential) や [GitKraken](https://help.gitkraken.com/gitkraken-desktop/authentication/)のようなGitクライアントは、アプリ環境または内部アカウントマネージャーを使用して、資格情報を保存しようとします。この場合は、Gitクライアントのドキュメントを参照して詳細を確認してください。

MQL5の資格情報を保存しておくと、Gitクライアントは毎回MQL5のログインIDとパスワードを入力することなく、リモートサーバーとやり取りできるようになります。

正しいgit [構成](https://www.metatrader5.com/ja/metaeditor/help/mql5storage/mql5storage_external_client#local_git_configuration) を設定して、 [資格情報](https://www.metatrader5.com/ja/metaeditor/help/mql5storage/mql5storage_external_client#credentials_mql5_algo_forge)を保存すると、外部のGitクライアントを使用して、サポートされているあらゆる操作を実行できるようになります。

## In this section

- [ストレージのアクティベート](https://www.metatrader5.com/ja/metaeditor/help/mql5storage/mql5storage_connect)
- [プロジェクトの生成及び稼働](https://www.metatrader5.com/ja/metaeditor/help/mql5storage/projects)
- [ストレージの活用](https://www.metatrader5.com/ja/metaeditor/help/mql5storage/mql5storage_working)
- [プロジェクト履歴の参照](https://www.metatrader5.com/ja/metaeditor/help/mql5storage/mql5storage_diff)
- [変更の統合](https://www.metatrader5.com/ja/metaeditor/help/mql5storage/mql5storage_merging)
- 外部サブバージョンクライアント

```json
{"@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [ {"@type": "ListItem", "position": 1, "item": {"@id": "https://www.metatrader5.com/ja/metaeditor/help", "name": "MetaEditorのヘルプ"}}, {"@type": "ListItem", "position": 2, "item": {"@id": "https://www.metatrader5.com/ja/metaeditor/help/mql5storage", "name": "プロジェクトおよびMQL5ストレージ"}}, {"@type": "ListItem", "position": 3, "item": {"@id": "https://www.metatrader5.com/ja/metaeditor/help/mql5storage/mql5storage_external_client", "name": "外部サブバージョンクライアント"}} ]}
{ "@context": "https://schema.org", "@type": "FAQPage", "mainEntity": [{ "@type": "Question", "name": "MetaTrader 5: 外部サブバージョンクライアント", "acceptedAnswer": { "@type": "Answer", "text": "MQL5 Algo Forgeは、Gitベースのストレージシステムです。 最初のステップ を完了した後は（Gitを インストール後） お使いのコンピューター上で、任意の外部Gitクライアントの使用を開始できます。 最も人気のあるGitクライアントには以下が含まれます。 TortoiseGit..." } }] }
```
