Skip to content

Commit 2218b9d

Browse files
authored
Update share-your-code-in-git-xcode.md
1 parent 6daa2fe commit 2218b9d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/repos/git/share-your-code-in-git-xcode.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ Choose the option that matches your situation:
5151

5252
Create a local Git repo when you create a new project. Choose **Create Git repository on My Mac** when creating a new project.
5353

54-
![Create a Git repo at the time of Xcode project creation](media/share-your-code-in-git-xcode/xcodenewproject.png)
54+
![Screenshot that shows how to create a Git repo at the time of Xcode project creation.](media/share-your-code-in-git-xcode/xcodenewproject.png)
5555

5656
### Existing projects
5757

5858
Create a local Git repo for your existing projects not in version control by going to **Source Control, Create Working Copy...** . Select the projects to add to the local Git repo and select **Create**. Xcode creates a Git repo for your code and adds a [commit](commits.md) with your project files.
5959

60-
![Add a local Git repo to an existing Xcode project](media/share-your-code-in-git-xcode/xcodecreateworkingcopy.png)
60+
![Screenshot that shows how to add a local Git repo to an existing Xcode project.](media/share-your-code-in-git-xcode/xcodecreateworkingcopy.png)
6161

6262
## Create a new Git repo in Azure Repos
6363

@@ -88,17 +88,17 @@ Now connect your local Xcode project to Azure Repos and push your code.
8888

8989
1. In Xcode, go to **Source Control** and select **[Project name] -- main**, then **Configure**.
9090

91-
![Configure your Xcode Git project settings](media/share-your-code-in-git-xcode/xcodeconfigureproject.png)
91+
![Screenshot that shows how to configure your Xcode Git project settings.](media/share-your-code-in-git-xcode/xcodeconfigureproject.png)
9292

9393
2. Select **Remotes**, then select the ![plus](media/share-your-code-in-git-xcode/xcodeplusicon.png) icon and choose **Add Remote**.
9494

9595
3. In the **Address** field, paste the Git clone URL you copied earlier. Select **Add Remote**, then **Done** to create the `origin` remote.
9696

97-
![Add a remote to the local Git repo for your Xcode project to connect to Azure DevOps Services](media/share-your-code-in-git-xcode/xcodeaddremote2.png)
97+
![Screenshot that shows how to add a remote to the local Git repo for your Xcode project to connect to Azure DevOps Services.](media/share-your-code-in-git-xcode/xcodeaddremote2.png)
9898

9999
4. Go to **Source Control** > **Push**, enter the branch name on `origin` to push to (usually `main`), and select **Push**.
100100

101-
![Push your Xcode project to Azure DevOps Services](media/share-your-code-in-git-xcode/xcodepushtomaster.png)
101+
![Screenshot that shows how to push your Xcode project to Azure DevOps Services.](media/share-your-code-in-git-xcode/xcodepushtomaster.png)
102102

103103
5. If prompted for credentials, choose your authentication method:
104104

@@ -126,7 +126,7 @@ Now connect your local Xcode project to Azure Repos and push your code.
126126

127127
Select **OK** to complete authentication.
128128

129-
![Authenticate using a token](media/share-your-code-in-git-xcode/xcodeauthentication.png)
129+
![Screenshot that shows how to authenticate using a token.](media/share-your-code-in-git-xcode/xcodeauthentication.png)
130130

131131
After successful authentication, Xcode [pushes](pushing.md) your project to Azure Repos. Your code is now available for your team to collaborate on.
132132

0 commit comments

Comments
 (0)