how to push a repository from vs code to git hub.
- make sure you were login to your GitHub account.
- then connect it to vs code.
- then use this cammands
- git add .
- git commit -m "your message"
- git remote add origin https://github.com/kritik-sah/react-portfolio.git or git remote set-url origin https://github.com/kritik-sah/react-portfolio.git
- git push -u origin master --force
how to use git & Github
Reviewed by Kritik Sah
on
March 30, 2021
Rating:

No comments: