mirror of
https://github.com/sahinakkaya/til.git
synced 2025-07-03 19:11:10 +03:00
Update til
This commit is contained in:
@ -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 ... ...`
|
||||||
|
Reference in New Issue
Block a user