Skip to content

Commit 1aebff4

Browse files
authored
Merge pull request #2626 from peternewman/patch-1
Correct the example URL
2 parents e609333 + 7a3542d commit 1aebff4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

content/github/using-git/adding-a-remote.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ You may encounter these errors when trying to add a remote.
3737
This error means you've tried to add a remote with a name that already exists in your local repository:
3838

3939
```shell
40-
$ git remote add origin https://{% data variables.command_line.codeblock %}/octocat/Spoon-Knife
40+
$ git remote add origin https://{% data variables.command_line.codeblock %}/octocat/Spoon-Knife.git
4141
> fatal: remote origin already exists.
4242
```
4343

0 commit comments

Comments
 (0)