Getting Started with Git

13 / 16

GitHub Project - Getting Started with Git - Add remote to existing repository

You can add remote using git remote add origin command.

INSTRUCTIONS
  • Make sure you are in ~/devops directory
  • Add remote to your existing repository using : git remote add origin git@github.com:<your-github-username>/<repository-name>.git

Note: Please use ssh url of your repository instead of https url to be able to push the code.

Get Hint See Answer


Note - Having trouble with the assessment engine? Follow the steps listed here

Loading comments...