step1 : install git
step2 : install vscode
step3: login github
step4: open commandprompt and type git
step5:
git config --global user.name "jahabm"
git config --global user.email "likejahab@gmail.com"
(visual studio)
step 6 : open folder anyplace
step 7: open visual studio code and open the above folder
step 8 : open terminal (in visual studio)
git clone https://github.com/Jahabm/test.git
step 9 : (open folder)
PS C:\Users\G-TEC\Desktop\gtec> cd test
PS C:\Users\G-TEC\Desktop\gtec\test>
step10 : create a new file(test2.txt)
step11 : open terminal (in visual studio)
git status (u)
git add test2.txt
git status (a)
git commit -m "test2.txt added"
git push origin main
step12: git pull
No comments:
Post a Comment