How to connect local system to github...?

Prem ChoudharyPrem Choudhary
1 min read

For connecting your local system to github you have to create a token.
Steps to create a token.

  1. Go to github settings → Developers setting → Personal access token → Tokens(classic) → Generate token.

  2. Name your token, give repo scope to it and then click generate token.

  3. Copy that key.

Now open for terminal on VS code.

  1. Run git remote set-url originhttps://paste-key-here@github.com/your-github-id/folder-name.git

  2. Run git push origin master

Thank you…!!

0
Subscribe to my newsletter

Read articles from Prem Choudhary directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Prem Choudhary
Prem Choudhary

DEVOPS ENGINEER || AWS || JAVA || PYTHON || SPRING BOOT || SPRING SECURITY || REACT.JS || MONGO DB || MYSQL