Adding a remote to a local repository

To publish our HelloWorld repository, we simply have to add its first remote; adding a remote is quite simple: git remote add origin <remote-repository-url>

So, this is the full command we have to type in the Bash shell:

[27] ~/HelloWorld (master)
$ git remote add origin https://github.com/fsantacroce/HelloWorld.git

Adding a remote, like adding or modifying other configuration parameters, simply consists of editing some text files in the .git folder, so it is blazing fast.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.12.36.30