Visual Studio Code | How to use git and github

Automation Step by Step

more about Raghav – https://automationstepbystep.com/
0:39 Step 1 : Install git on your system
2:46 Step 2 : Create account on github – https://github.com/
3:27 Step 3 : Create a repository on github & copy url
4:25 Step 4 : Goto VS Code and open project/folder
note : check git is enabled from settings
5:54 Step 5 : Goto source control section & click on git icon
6:52 Step 6 : Give commit message & Commit the changes
8:00 Step 7 : Add remote repo (github repo)
9:15 Step 8 : Push commited changes to github repo
10:03 Step 9 : Check changes on github repo
13:05 How to clone from GitHub
14:50 Remove project from Git
If you face any issues, also watch – https://www.youtube.com/watch?v=F80PsvYyNlc
1. How to add an existing vs code project to git and github
2. How to do commit and push whenever changes happen
3. How to clone from github to vscode
4. How to remove project from git

Note: You may need to set git credentials on your system using the commands
git config –global user.email “you@example.com”
git config –global user.name “Your Name”

UPDATE****
While pushing to github you will NOW need to provide ACCESS TOKEN in place of password Check – https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token

Step 1 : Install git on your system

Step 2 : Create account on github – https://github.com/

Step 3 : Create a repository on github & copy url

Step 4 : Goto VS Code and open project/folder

note : check git is enabled from settings

Step 5 : Goto source control section & click on git icon

Step 6 : Give commit message & Commit the changes

Step 7 : Add remote repo (github repo)

Step 8 : Push commited changes to github repo

Step 9 : Check changes on github repo

if the error msg “SOURCE CONTROL: No source control providers registered” appears, just open a folder in the explorer view that was already under git control and the option will appear
check if this helps https://stackoverflow.com/questions/46609255/git-missing-in-vs-code-no-source-control-providers

References:
https://code.visualstudio.com/docs/editor/versioncontrol#_remotes
https://git-scm.com/downloads
https://www.youtube.com/playlist?list=PLhW3qG5bs-L8OlICbNX9u4MZ3rAt5c5GG

FREE Courses – https://automationstepbystep.com/online-courses/
GitHub – https://github.com/Raghav-Pal/
Udemy – https://www.udemy.com/user/raghav-pal-3/
Training by Raghav at your venue – raghav.qna@gmail.com
Training schedule – https://automationstepbystep.com/trainings-2/
———— UI TESTING ————
Selenium Beginners – https://bit.ly/2MGRS8K
Selenium Java Framework from Scratch – https://bit.ly/2N9xvR6
Selenium Python – https://bit.ly/2oyMp5x
Selenium Tips – https://bit.ly/2owxc50
Selenium Builder – https://bit.ly/2MKNtlq
Katalon Studio – https://bit.ly/2wARFdi
Robot Framework with RIDE- https://bit.ly/2Px6Ue9
Robot Framework with Eclipse – http://bit.ly/2N8DZxb

———— API TESTING ————
Web Services (API) – https://bit.ly/2MGafL7
SoapUI – https://bit.ly/2MGahmd
Postman – https://bit.ly/2wz8LrW
General – https://bit.ly/2PYdwmV
Katalon Studio API Testing – https://bit.ly/2BwuCTN

———— MOBILE TESTING ————
Appium – https://bit.ly/2ZHFSGX
Mobile Playlist – https://bit.ly/2PxpeUv

———— CI | CD | DEVOPS ————
Jenkins Beginner – https://bit.ly/2MIn8EC
Jenkins Tips & Trick – https://bit.ly/2LRt6xC
Docker – https://bit.ly/2MInnzx

———— VERSION CONTROL SYSTEM ————
Git & GitHub – https://bit.ly/2Q1pagY

———— PERFORMANCE TESTING ————
JMeter Beginner – https://bit.ly/2oBbtIU
JMeter Intermediate – https://bit.ly/2oziNVB
JMeter Advanced – https://bit.ly/2Q22Y6a
JMeter Tips & Tricks – https://bit.ly/2NOfWD2
Performance Testing – https://bit.ly/2wEXbLS

———— PROGRAMMING ————
Java Beginners – https://bit.ly/2PVUcXs
Java Tips & Tricks – https://bit.ly/2CdcDnJ
GROOVY – https://bit.ly/2FvWV5C
JAVASCRIPT – http://bit.ly/2KJDZ8o

———— IDE ————
Visual Studio Code – https://bit.ly/2V15yvt

———— MAVEN ————
Maven – https://bit.ly/2NJdDRS

———— OTHERS ————
Redis- https://bit.ly/2N9jyCG
Misc – https://bit.ly/2Q2q5xQ
Tools & Tips – https://bit.ly/2oBfwoR
QnA Friday- https://bit.ly/2NgwGpw
Sunday Special – https://bit.ly/2wB23BO

Ask Raghav – https://bit.ly/2CoJGWf
Interviews – https://bit.ly/2NIPPxk
All Playlists – https://bit.ly/2LSiezA

Never Stop Learning
Raghav

Website – https://automationstepbystep.com/
LifeCharger – http://lifecharger.org/
Udemy Courses – https://www.udemy.com/user/raghav-pal-3/
Facebook – https://www.facebook.com/automationstepbystep
Twitter – https://twitter.com/automationsbs
Youtube – http://youtube.com/automationstepbystep
Instagram – https://www.instagram.com/automationstepbystep/

You can support my mission for education by sharing this knowledge and helping as many people as you can.