Skip to content

Commit 47d4c21

Browse files
committed
Readme: typo
1 parent 3d92b7e commit 47d4c21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ $repo->removeRemote('origin');
227227

228228
// changes remote URL
229229
$repo->setRemoteUrl('remote-name', 'new-repository-url');
230-
$repo->removeRemote('upstream', 'https://github.com/czproject/git-php.git');
230+
$repo->setRemoteUrl('upstream', 'https://github.com/czproject/git-php.git');
231231
```
232232

233233
**Troubleshooting - How to provide username and password for commands**

0 commit comments

Comments
 (0)