VSCode Git Tutorial (2023)

preview_player
Показать описание
(We're free online community, meet other makers!)

#git #vscode #github

00:00 How to use Git in VSCode (command line and UI)
00:10 You don't need Git Extensions just use built-in Source Control button
00:21 Download Git for Windows 7 10 11 32 bit or 64 bit
00:37 Install Git on Windows 7 10 11 32 64 bit
00:55 Make sure Git is installed by checking version on command line
01:08 Open GitHub and VSCode (Visual Studio Code) side by side
01:21 VSCode Git Create New Remote Repository
01:38 Git Init Instructions: Create a new repsository on command line or push existing repo from terminal
01:44 Start New Git Project (Create New Folder)
02:04 Select Project Folder
02:24 Open New VSCode Terminal
02:35 run git init to initialize new git project on command line (bash, terminal)
03:37 stage commit push workflow
04:15 git add file
04:33 git commit -m "commit message"
05:03 git branch -M main (rename current branch)
05:27 git remote origin main (link local branch with remote branch)
05:53 git push -u origin main
06:35 Using vscode git UI
06:55 vscode git add file using the vscode UI
06:60 vscode git commit -m "commit message" using vscode UI (Ctrl Enter)
07:07 vscode git push (sync changes)
08:04 resolving merge conflict using vscode UI
08:53 git reset hard HEAD

Most popular videos on Semicolon:

How to run PHP script file on localhost in Chrome browser on PC in Windows 7 10 11

How to run HTML in VSCode (68K views)

How to run Python in VSCode (71K views)

How to center Image in HTML (142K views)

How to add background image in HTML (559K views)

How to install MinGW 64 bit 2022 Windows 10/11 Fix File Has Been Downloaded Incorrectly! Error

How to Run JavaScript (js) files in VSCode on Windows 7 10 11

VSCode Keyboard Shortcuts (visual studio code key bindings)

How to Run Python in VSCode

How to use FTP in VSCode to upload and download files

VSCode How To Open a Folder

Fix Error: listen EACCESS permission denied

How to use GIt in VSCode (tutorial for beginners)

How to remove all files from a directory on Linux

How to fix ModuleNotFoundError (no module named) error in Python

How to make background image fit screen in HTML CSS

How to fade in and out in Premiere Pro

VSCode Keyboard Shortcuts
Рекомендации по теме
Комментарии
Автор

Hey guys if this is helping, please Like and Comment 🙂

This helps more people find my videos on YouTube,

and motivate me to make more videos for ya'll

ghosttogether
Автор

After completing my BTech now I understood smoothly, It was the easiest instruction.

sohaibalam
Автор

After 6 months of trying to be a blockchain developer. You just explained vsc and git as if It was my first. Believe it or not I needed this. Thank you

thebigshow
Автор

Very nice and simple summary – well done!

mackenmd
Автор

thank you so much, it really helped me out.

cyber
Автор

8:10 perhaps you should have informed as to how to sync the local working area with the current file in the repo vs create a merge conflict with little explanation about merge conflicts..

worlukk
Автор

Followed this tutorial to the letter. After the git push -u origin main command I get the error:

To repo_url.git
! [rejected] main -> main (fetch first)
error: failed to push some refs to 'repo_url.git'
hint: Updates were rejected because the remote contains work that you do not
hint: have locally. This is usually caused by another repository pushing to
hint: the same ref. If you want to integrate the remote changes, use
hint: 'git pull' before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.

Lirim_K
Автор

why was it not necessary for you to configure git by entering your name and email address?? For me it`s not possible to commit without doing this

pippilottapoppince
Автор

is there any way i can import your layout settings?

aaronasbury