mirror of
https://github.com/sahinakkaya/til.git
synced 2024-12-22 07:09:39 +01:00
Update til
This commit is contained in:
parent
7123b51372
commit
3c6e00d217
@ -5,5 +5,15 @@ git remote add <name> <url>
|
||||
Example:
|
||||
```
|
||||
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 ... ...`
|
||||
|
Loading…
Reference in New Issue
Block a user