Skip to content

Commit a9793a9

Browse files
committed
touchups
1 parent a3c0196 commit a9793a9

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

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

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ You can clone a repo by using Secure Shell (SSH) protocol. To use SSH, you need
4040

4141
### Generate and save a new SSH key
4242

43-
To generate a new SSH key, go to the Azure Machine Learning studio **Notebook** page, open a terminal, and run the following command, substituting your email address.
43+
To generate a new SSH key, you can go to the Azure Machine Learning studio **Notebook** page, open a terminal, and run the following command, substituting your email address.
4444

4545
```bash
4646
ssh-keygen -t ed25519 -C "[email protected]"
@@ -66,13 +66,13 @@ When you press Enter, the `ssh-keygen` command generates a new SSH key with the
6666

6767
### Add the public key to your Git account
6868

69-
In your terminal window, run the following command to display the contents of your public key file. If you renamed the key, replace `id_ed25519.pub` with the public key file name.
69+
You need to add your public SSH key to your Git account. To get the key, run the following command in your terminal window. If your key file has a different name, replace `id_ed25519.pub` with your public key file name.
7070

7171
```bash
7272
cat ~/.ssh/id_ed25519.pub
7373
```
7474

75-
Copy the output.
75+
The command displays the contents of your public key file. Copy the output.
7676

7777
> [!TIP]
7878
> To copy and paste in the terminal window, use these keyboard shortcuts, depending on your operating system:
@@ -91,7 +91,7 @@ Add the SSH key to your Git account by using the following instructions, dependi
9191

9292
### Clone the Git repository with SSH
9393

94-
To clone a Git repo, copy the SSH Git clone URL from the repo. In your terminal, run the `git clone` command using the SSH Git clone URL. For example:
94+
To clone a Git repo, copy the SSH Git clone URL from the repo. In your terminal, run `git clone` followed by the SSH Git clone URL. For example:
9595

9696
```bash
9797
git clone [email protected]:GitUser/azureml-example.git
@@ -122,9 +122,9 @@ When you submit a training job from the Python SDK or Machine Learning CLI, the
122122
123123
If so, the process uploads Git repository, branch, and current commit information as part of the training job. The information is stored in the following training job properties for jobs that use an estimator, machine learning pipeline, or script run.
124124
125-
| Property | Git command used to get the value | Description |
125+
| Property | Git command to get the value | Description |
126126
| ----- | ----- | ----- |
127-
| `azureml.git.repository_uri` or `mlflow.source.git.repoURL` | `git ls-remote --get-url` | The URI that your repository was cloned from. |
127+
| `azureml.git.repository_uri` or `mlflow.source.git.repoURL` | `git ls-remote --get-url` | The URI that THE repository was cloned from. |
128128
| `azureml.git.branch` or `mlflow.source.git.branch` | `git symbolic-ref --short HEAD` | The active branch when the job was submitted. |
129129
| `azureml.git.commit` or `mlflow.source.git.commit` | `git rev-parse HEAD` | The commit hash of the code that was submitted for the job. |
130130
| `azureml.git.dirty` | `git status --porcelain .` | `True` if the branch or commit is dirty, otherwise `false`. |
@@ -159,14 +159,13 @@ You can view this information by using the Azure portal, Python SDK, or Azure CL
159159
160160
### Azure portal
161161
162-
In your Azure Machine Learning workspace in Azure Machine Learning studio:
162+
In your workspace in Azure Machine Learning studio:
163163
164164
1. Select the **Jobs** page.
165165
1. Select an experiment.
166166
1. Select a job from the **Display name** column.
167167
1. Select **Outputs + logs** from the top menu.
168-
1. Expand **logs** > **azureml**.
169-
1. Select the link that begins with **###_azure**.
168+
1. Expand **logs** > **azureml**, and then select the link that begins with **###_azure**.
170169
171170
### Python SDK V2
172171
@@ -178,7 +177,7 @@ job.properties["azureml.git.commit"]
178177
179178
### Azure CLI V2
180179
181-
Run the `az ml job show` command with the `--query` argument to display the Git information. For example, the following query retrieves the `GitCommit` property:
180+
You can run the `az ml job show` command with the `--query` argument to display the Git information. For example, the following query retrieves the `azureml.git.commit` property:
182181
183182
```azurecli
184183
az ml job show --name my-job-id --query "{GitCommit:properties.azureml.git.commit} --resource-group my-resource-group --workspace-name my-workspace"

0 commit comments

Comments
 (0)