CAN I PUSH MY CODE FROM VISUAL STUDIO CODE TO GITHUB šŸ¤”?

Lalith shanmugiah
6 min readOct 26, 2021

--

YES!! YOU CAN PUSH YOUR CODEā€¦.

[VISUAL STUDIO CODE VS GITHUB]

OK! LETS SEE FIRST WHAT IS VS CODE

VS CODE IS ONE OF THE POWERFUL SOURCE CODE EDITOR WHICH RUNS ON YOUR DESKTOP AND IS AVAILABLE FOR WINDOWS,MACOS AND LINUX.

HOW TO INSTALLATION VISUAL STUDIO CODE ?

Step 1: Go to the Academic Software page of Microsoft Visual Studio Code and click the green button ā€˜Download Visual Studio Codeā€™ to download the installer.

Step 2: Run the .exe installer from your downloads folder.

Step 2: Read and accept the License Agreement and click Next.

Step 3: Choose where you want to install the software. You can change the installation folder location, or keep the default settings. Click Next to continue.

Step 4: Choose if you want to change the shortcut folder name in your Start menu, or donā€™t want to install shortcuts at all. Click Next.

Step 5: Select the additional tasks, e.g. creating a desktop icon or adding options to the Windows Explorer right-click menu. Click Next

Step 6: Click Install to start the software installation.

Step 7: The software is installed and ready to use. Click Finish to finalize the installation and start the program.

AFTER INSTALLED VS CODE THEN OPEN IT UP!

YOU HAVING WELCOME SCREEN ON VISUAL STUDIO CODE BELOW THAT YOU HAVING START ..

  • NEW FILE
  • OPEN FLODER
  • ADD WORKSPACE FOLDER

NEXT YOU HAVE TO CLICK THE OPEN FLODER, THEN IF YOU HAVE ALREADY FOLDER CHOOSE IT OR ELSE! CREATE NEW FOLDER AND GIVE FLODER NAME BASED ON YOUR PROJECTā€¦

NOW YOU ARE READY TO START YOUR WORK , ONCE YOU DONE YOUR PROJECT SAVE IT ā€¦..

ALL DONE IN YOUR VS CODE ā€¦

NEXT ONE IS YOU MOST HAVE GITHUB ACCOUNT OR ELSE CREATE ONE !

1 step

Here is https://github.com/ You can use any web browser on your computer, phone, or tablet to join.

Some ad blockers, including uBlock Origin, prevent GitHubā€™s verification CAPTCHA puzzle from appearing. For best results, disable your web browserā€™s ad blocker when signing up for GitHub.

2 step

Enter your personal details. In addition to creating a username and entering an email address, youā€™ll also have to create a password. Your password must be at least 15 characters in length or at least 8 characters with at least one number and lowercase letter.

Carefully review the Terms of Service at https://help.github.com/en/articles/github-terms-of-service and the Privacy Statement at https://help.github.com/en/articles/github-privacy-statement before you continue. Continuing past the next step confirms that you agree to both documents.

3 step

Click the green create an account .Itā€™s below the form.

4 step

Complete the captcha puzzle !The instructions vary by puzzle, so just follow the on-screen instructions to confirm that you are a human.

If you see an error that says ā€œUnable to verify your captcha response,ā€ itā€™s because your web browserā€™s ad blocking extension prevented the CAPTCHA puzzle from appearing. Disable all ad-blocking extensions, refresh the page, and then click verify to start the CAPTCHA.

5 step

click the choose button for your desire plan. Once you select a plan, GitHub will send an email confirmation message to the address you entered. The plan options are

Free: Unlimited public and private repositories, up to 3 collaborators, issues and bug tracking, and project management tools.

Pro: Unlimited access to all repositories, unlimited collaborators, issue & bug tracking, and advanced insight tools.

Team: All of the aforementioned features, plus team access controls and user management.

Enterprise: All of the features of the Team plan, plus self-hosting or cloud hosting, priority support, single sign-on support, and more.

6 step

Click the verify email address button in the message from this confirms your email address and returns you to the sign-up process.

7 step

Review your plan and choose click contine.You can also choose whether you want to receive updates from GitHub via email by checking or unchecking the ā€œSend me updatesā€ box.

If you chose a paid plan, youā€™ll have to enter your payment information as requested before you can continue.

8 step

Select your perference and click submit button GitHub displays a quick survey that can help you tailor your experience to match what youā€™re looking for. Once you make your selection, youā€™ll be taken to a screen that allows you to set up your first repository.

If you want to upgrade your Github account in the future, click the menu at the top-right corner, select setting, and choose billing to view your options

ALL DONE !!

NEXT GO INTO OUR TOPIC

HOW TO PUSH MY CODE TO GITHUB FROM VISUAL STUDIO CODE?

ON VS CODE OPEN YOUR PROJECT FOLDER

THEN GO TO GITHUB AND CLICK THE PROFILE HERE BELOW YOU HAVING YOUR RESPOSITORIES CLICK IT AND RESPOSITORIES IS OPEN HERE YOU HAVING NEW BUTTON IN GREEN COLOR CLICK IT

THEN GIVE RESPOSITORY NAME AND BELOW IF WANT GIVE ANY DESCRIPTION GIVE IT OR ELSE LEAVE ITā€™S DOES NOT MATTER BUT RESPORITORY IS IMPORTANT!

BELOW YOU HAVING

  • PUBLIC
  • PRIVATE

CHOOSE WHICH YOU WANT

AND YOUR REPOSITORY IS CREATED

THEN CLICK TOP THE SEARCH BAR COPY THE URL

BY THE HELP OF THE URL WE PUSHED OUR FOLDER TO GITHUB RESPOSITORY

NOW OPEN YOUR VISUAL STUDIO CODE

THEN CLICK VERSION CONTROL ICON YOU SEE BE REMEMBER THIS

version contro icon

CLICK ON IT

THEN CLICK THE INITIALIZE REPOSITORY AND GIVE ANY COMMIT OR FIRST COMMIT

THEN PRESS CONTROL PLUS ENTER NOT SIMPLEY PRESS ENTER

AFTER PRESS CONTROL PLUS ENTER THERE HAVING MESSAGE LIKE

THERE ARE NO STAGED CHANGE TO COMMIT

WOULD YOU LIKE TO AUTOMATICALLY STAGE ALL YOUR CHANGES AND COMMIT THEM DIRECTLY?

PRESS YES!

THEN IT START COMMITTING

ABOVE THE YOU HAVE SOURCE CONTROL LEFT AND BY RIGHT SIDE YOU HAVE TICK , RESTART , THREE DOT ICON

CLICK THE THREE DOT ICON, THEN CLICK PUSH TO GITHUB

BELOW YOU CAN SEE IT SAID TO ADD REMOTE, CLICK THE ADD REMOTE AND PASTE URL WERE COPIED

THEN GIVE ANY REMOTE NAME AND PRESS ENTER

NOW YOU CAN SEE THAT VERSION CONTROL PUSHING START

THEN AGAIN CLICK THREE DOT ICON AND AGAIN CLICK TO PUSH TO GITHUB

NOW YOU SEE BEFORE WE PASTE THE URL IT AUTOMATICALLY SHOWS AND SELECT THE URL THEN PRESS ENTER

IF YOU PUSH FIRST TIME IT SAY TO YOU LOGIN WITH YOU GITHUB ACCOUNT

LOGIN IT

FINALLY YOUR PROJECT IS PUSHED SUCCESSFULLY TO GITHUB REPOSITORY

WOO YAH!!!

THANK YOU ALL!

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Lalith shanmugiah
Lalith shanmugiah

Written by Lalith shanmugiah

0 Followers

Computer Engineering

No responses yet

Write a response