TIL: Adding remote to existing repository

This commit is contained in:
Asocia 2021-05-02 00:50:42 +03:00
parent 94bb4169d6
commit 7e75d391a0

View 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
```