Git and Github: Need to remote more than once?

Asked

Viewed 35 times

2

When I’m going to do the procedure to upload the files from my directory to Github, through Git, I need to give git remote add origin ... every time or only the first time is enough?

1 answer

4


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

  • Thank you very much!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.