How to publish your code on GitHub from VS Code.

How to publish your code on GitHub from VS Code.

Git:

Git is a version control system used for tracking changes in any set of files.

GitHub:

GitHub is an Internet hosting service for software development and version control using Git.

If you want to publish your repository follow the following steps.

1. Install Git:

First, install the git in your system. Click on the link below to download.

https://git-scm.com/downloads

No alt text provided for this image


2. Install VS Code:

Install the VS Code in your system. Click on the link below to download.

https://code.visualstudio.com/download

No alt text provided for this image


3. Connect VS Code with Git:

Firstly, Open the terminal of VS Code.

No alt text provided for this image

Enter the following commands (one at a time) in the terminal and hit enter.

git config –global user.name “YourUserNameOnGithub

git config –global user.email “YourEmail”        


4. Open the folder in VS Code that you want to publish:

No alt text provided for this image


5. Publish the Repository:

No alt text provided for this image
No alt text provided for this image

Congratulations, you have published your repository :)

To stay connected follow me on GitHub:

Urooba Shameem

UI/UX Designer | Google Certified | UI/UX Designer @TekRevol | BSCS | UBIT'24 | President @DUMS | Social Media Lead @ACM-W Pakistan

2 年

A really well defined post ??

MUGHEES KHAN

Associate Software Engineer at @Siliconplex | Intern xFolio3 | Member GDSC-UOK | UBIT'23 ??

2 年

very helpful ??

Zunain Ali Azam

Software Engineer @IOMechs | Full Stack Developer | Angular | JavaScript | React | MERN Stack | Firebase

2 年

Helpful! This will surely help others and me ??

要查看或添加评论,请登录

Muhammad Amas的更多文章

  • The New World Order: Why Adaptability Is The New Normal

    The New World Order: Why Adaptability Is The New Normal

    “The measure of intelligence is the ability to change.” - Albert Einstein This new world of work is now rapidly…

    3 条评论
  • WHY ARE HOMO SAPIENS ADDICTED TO SCREENS

    WHY ARE HOMO SAPIENS ADDICTED TO SCREENS

    Screen addiction, also known as digital addiction or internet addiction, refers to the excessive use of electronic…

    4 条评论

社区洞察

其他会员也浏览了