Update til

This commit is contained in:
Asocia 2021-07-07 14:50:23 +03:00
parent 7123b51372
commit 3c6e00d217

View File

@ -5,5 +5,15 @@ git remote add <name> <url>
Example: Example:
``` ```
git remote add origin git@github.com:Asocia/til.git git remote add origin git@github.com:Asocia/til.git
git push -u origin master git push -u origin my_branch
``` ```
If you get an error like
```
error: remote origin already exists.
```
you can:
- remove the origin and try again. `git remote remove origin`
- add it with a different name. `git remote add ... ...`