You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/machine-learning/concept-train-model-git-integration.md
+18-3Lines changed: 18 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,11 +12,26 @@ ms.date: 10/11/2019
12
12
---
13
13
# Git integration for Azure Machine Learning
14
14
15
-
[Git](https://git-scm.com/) is a popular version control system that allows you to share and collaborate your projects. When submitting a training job to Azure Machine Learning, if the training files are stored in a local git repository then information about the repo is tracked as part of the training process.
15
+
[Git](https://git-scm.com/) is a popular version control system that allows you to share and collaborate on your projects.
16
+
17
+
Azure Machine Learning fully supports Git repositories for tracking work - you can clone repositories directly onto your shared workspace file system.
18
+
19
+
When submitting a job to Azure Machine Learning, if source files are stored in a local git repository then information about the repo is tracked as part of the training process.
16
20
17
21
Since Azure Machine Learning tracks information from a local git repo, it isn't tied to any specific central repository. Your repository can be cloned from GitHub, GitLab, Bitbucket, Azure DevOps, or any other git-compatible service.
18
22
19
-
## How does git integration work?
23
+
## Clone Git repositories into your workspace file system
24
+
Azure Machine Learning provides a shared file system for all users in the workspace.
25
+
To clone a Git repository into this file share, we recommend that you create a Compute Instance & open a terminal.
26
+
Once the terminal is opened, you have access to a full Git client and can clone and work with Git via the Git CLI experience.
27
+
28
+
We recommend that you clone the repository into your users directory so that others will not make collisions directly on your working branch.
29
+
30
+
You can clone any Git repository you can authenticate to (GitHub, Azure Repos, BitBucket, etc.)
31
+
32
+
For a guide on how to use the Git CLI, read here [here](https://guides.github.com/introduction/git-handbook/).
33
+
34
+
## Track code that comes from Git repositories
20
35
21
36
When you submit a training run from the Python SDK or Machine Learning CLI, the files needed to train the model are uploaded to your workspace. If the `git` command is available on your development environment, the upload process uses it to check if the files are stored in a git repository. If so, then information from your git repository is also uploaded as part of the training run. This information is stored in the following properties for the training run:
22
37
@@ -95,4 +110,4 @@ For more information, see the [az ml run](https://docs.microsoft.com/cli/azure/e
95
110
96
111
## Next steps
97
112
98
-
*[Set up and use compute targets for model training](how-to-set-up-training-targets.md)
113
+
*[Set up and use compute targets for model training](how-to-set-up-training-targets.md)
0 commit comments