diff --git a/git/adding-remote-to-existing-repository.md b/git/adding-remote-to-existing-repository.md new file mode 100644 index 0000000..638f607 --- /dev/null +++ b/git/adding-remote-to-existing-repository.md @@ -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 +``` +Example: +``` +git remote add origin git@github.com:Asocia/til.git +git push -u origin master +```