How to connect local system to github...?
Prem Choudhary
1 min read
For connecting your local system to github you have to create a token.
Steps to create a token.
Go to github settings → Developers setting → Personal access token → Tokens(classic) → Generate token.
Name your token, give repo scope to it and then click generate token.
Copy that key.
Now open for terminal on VS code.
Run
git remote set-url origin
https://paste-key-here@github.com/your-github-id/folder-name.git
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