Skip to content

Commit 0f5787b

Browse files
authored
Merge pull request #13101 from matta/patch-2
Switch from git to http remote URL in about-git-subtree-merges.md
2 parents fee0b3f + e506789 commit 0f5787b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/get-started/using-git/about-git-subtree-merges.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,15 @@ The best way to explain subtree merges is to show by example. We will:
5252

5353
1. Add a new remote URL pointing to the separate project that we're interested in.
5454
```shell
55-
$ git remote add -f spoon-knife git@github.com:octocat/Spoon-Knife.git
55+
$ git remote add -f spoon-knife https://github.com/octocat/Spoon-Knife.git
5656
> Updating spoon-knife
5757
> warning: no common commits
5858
> remote: Counting objects: 1732, done.
5959
> remote: Compressing objects: 100% (750/750), done.
6060
> remote: Total 1732 (delta 1086), reused 1558 (delta 967)
6161
> Receiving objects: 100% (1732/1732), 528.19 KiB | 621 KiB/s, done.
6262
> Resolving deltas: 100% (1086/1086), done.
63-
> From git://github.com/octocat/Spoon-Knife
63+
> From https://github.com/octocat/Spoon-Knife
6464
> * [new branch] main -> Spoon-Knife/main
6565
```
6666
2. Merge the `Spoon-Knife` project into the local Git project. This doesn't change any of your files locally, but it does prepare Git for the next step.

0 commit comments

Comments
 (0)