Git and GitHub: Need to give remote more than once?

2

When I'm going to do the procedure to load the files from my directory to GitHub, through Git, do I need to give git remote add origin ... every time or only the first time?     

asked by anonymous 22.11.2018 / 20:58

1 answer

4

The command git remote add origin is usually used only once for each remote repository, so the remote configuration is saved in your local repository. You can use the command: git remote -v to display the configured remote repositories.

    
22.11.2018 / 21:32