mirror of
https://github.com/sahinakkaya/til.git
synced 2024-11-22 08:39:39 +01:00
TIL: Adding remote to existing repository
This commit is contained in:
parent
94bb4169d6
commit
7e75d391a0
9
git/adding-remote-to-existing-repository.md
Normal file
9
git/adding-remote-to-existing-repository.md
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
If you have an existing repository and want to add a new remote you can use this command:
|
||||||
|
```
|
||||||
|
git remote add <name> <url>
|
||||||
|
```
|
||||||
|
Example:
|
||||||
|
```
|
||||||
|
git remote add origin git@github.com:Asocia/til.git
|
||||||
|
git push -u origin master
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user