fix: correct command for adding remote in git-remote.md
This commit is contained in:
@@ -87,7 +87,7 @@ Without referring to remotes explicitly, git will use `origin` by default. To fe
|
|||||||
2. Use `git remote set-url --add`
|
2. Use `git remote set-url --add`
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
git remote set-url --add origin ssh://git@example.tld/username/repo.git
|
git remote add origin ssh://git@example.tld/username/repo.git
|
||||||
git remote set-url --add origin ssh://git@backup.tld/username/repo.git
|
git remote set-url --add origin ssh://git@backup.tld/username/repo.git
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user