Skip to content

Commit a1c52ad

Browse files
authored
Update concept-train-model-git-integration.md
Adding basic info on how to clone git repos onto a CI
1 parent 038cb12 commit a1c52ad

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

articles/machine-learning/concept-train-model-git-integration.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,26 @@ ms.date: 10/11/2019
1212
---
1313
# Git integration for Azure Machine Learning
1414

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.
1620

1721
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.
1822

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
2035

2136
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:
2237

@@ -95,4 +110,4 @@ For more information, see the [az ml run](https://docs.microsoft.com/cli/azure/e
95110

96111
## Next steps
97112

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

Comments
 (0)