Topic: GitHub

Add a remote repository – GitHub

Preview

To add a remote repository to your project, enter the following command in your terminal:

git remote add origin https://github.com/username/repo-name.git

To view this and the other 250+ tutorials on Simple Dev, sign up for a 10-day free trial.