How to use Git inside of VSCode - 2020

  Рет қаралды 253,110

Ihatetomatoes

Ihatetomatoes

Күн бұрын

Пікірлер: 277
@meyou9369
@meyou9369 3 жыл бұрын
I had learned how to do it with commands but could not find any demonstrated use anywhere for using the GUI in VSCode. Before watching this I was convinced I needed a plugin to work with our company code repository. After watching you go through and show how the UI works while providing tips, it taught me how git is supposed to be used in VSCode and how simple all of the UI buttons are to use once you know what each of them do. Thanks for making the tutorial, your style of teaching is very informative and straightforward. You got a sub.
@muse2182
@muse2182 3 ай бұрын
watching this in 2024. was mucking around with a few u tube tutorials and i think this is the most complete git on vscode tutorial for beginners.
@kamcyahaka2033
@kamcyahaka2033 3 жыл бұрын
I love you! I love you! I love you! I've tried for nearly two months trying to understand git but I never really was able to understand what git was all about up until, all thanks to you💖
@VenkateshN6819
@VenkateshN6819 3 жыл бұрын
This is what I was looking, I have not used it before, this really helped me set up my project Git with lot of information using both GUI and commands. Thanks for such a nice tutorial.
@seppneimusser5723
@seppneimusser5723 2 жыл бұрын
You are the only one from who I understand it, because you made it best with your explanation, thank you so much ^^
@balamuruganp3865
@balamuruganp3865 3 жыл бұрын
Well Explained. I was struggling with git commands in vs code. Saved my time.Thanks a lot,
@ahameden6294
@ahameden6294 3 жыл бұрын
git confg was something I was missing and i didn't see anyone mentioning that. Thank you!!
@aungzinpyae8606
@aungzinpyae8606 4 жыл бұрын
You are a huge-flash-light-in-the-dark. Thank you for this simple and beginner friendly git tutorial. Hope to see more.
@Ihatetomatoes
@Ihatetomatoes 4 жыл бұрын
Thank you! Your kind words mean a lot to me. Welcome to the channel.
@christiancramer3379
@christiancramer3379 4 жыл бұрын
Haha, I just wanted to have a quick look at your video, to fix an issue with git. I ended up frustrating about installing oh my zsh and getting my terminal look as cool as yours. took me 3hours, but finally im there and back to solving my git issue. was a lot of fun. :))) im grateful for that.
@petrtichy1812
@petrtichy1812 4 жыл бұрын
Welcome to the digital rabbit hole world. I have been there and done that many times :) Thanks for watching it.
@danielventurini7513
@danielventurini7513 2 жыл бұрын
very nice. question how do you get the green a blue highlight for git-start and master in vs code terminal. For example at 2:52
@MoonDawg2413
@MoonDawg2413 3 жыл бұрын
Hey man, great tutorial! I think it would be super handy if you also showed how to resolve Git conflicts using VSCode. All Git newbies are TERRIFIED by merge conflicts (I know I was), and I think that skill would be very useful to learn!
@rabitoblanco
@rabitoblanco Жыл бұрын
He has! kzbin.info/www/bejne/oHu0p4Nvp7yjkK8 for anyone else who's also terrified (me!)
@robbiecrenshaw8393
@robbiecrenshaw8393 4 жыл бұрын
Great video Petr! Specially for someone like me that is making the switch to VSCode and learning Git.
@Ihatetomatoes
@Ihatetomatoes 4 жыл бұрын
Thanks Robbie, glad to hear that it was useful!
@random_tech_stuff
@random_tech_stuff 3 жыл бұрын
Thank you. The whole thing got even easier in December 2021!
@mrhummingbirds
@mrhummingbirds Жыл бұрын
Awesome video for learning how to use Git & GitHub in VSC; concise and get to the points. Thank you so much.
@ontheskyblue
@ontheskyblue 2 жыл бұрын
such a great and clear tutorial, I liked the way you teach. Waiting for fruther tutorials
@whatareyoulookingfor6789
@whatareyoulookingfor6789 3 жыл бұрын
12 minutes was really worth it, thanks!
@BrettCooper4702
@BrettCooper4702 2 жыл бұрын
Loved the from scratch setup tips, great tutorial, covered all the points I was looking for.
@Ihatetomatoes
@Ihatetomatoes 2 жыл бұрын
Thanks Brett!
@alexisfortin4354
@alexisfortin4354 2 жыл бұрын
Your video was the one that made me understand it all
@sandeepsinghnegi242
@sandeepsinghnegi242 2 жыл бұрын
This video is very clear and to the point.
@FOSSGuru
@FOSSGuru 2 жыл бұрын
Awesome tutorial! Just what I was looking for.
@ethiotkd7878
@ethiotkd7878 4 жыл бұрын
simple and easy but on target tutorial Thanks a lot!
@Ihatetomatoes
@Ihatetomatoes 4 жыл бұрын
Thanks for the feedback!
@venkatnarayan8042
@venkatnarayan8042 3 жыл бұрын
Thank you for the video. It helped me how to use git in vs code.
@djh_king
@djh_king 4 жыл бұрын
Please never delete this video
@Ihatetomatoes
@Ihatetomatoes 4 жыл бұрын
Haha thanks. Found it useful?
@summer6719
@summer6719 3 жыл бұрын
how do you have 1: zsh with a drop down menu in your terminal? at 0:50
@fishing_hou5140
@fishing_hou5140 3 жыл бұрын
Thank you for making this video. It is very helpful!
@tekskilldev8310
@tekskilldev8310 4 жыл бұрын
Great video for a vs code user. When clone repository, it said 'failed and warned that make sure you have the correct permission'. What is that and how can I complete github pushing for several projects I have in my local host. Inclusion of this in the video would enhance the value of the tutorial and help many of us. Thanks
@ButchCassidyAndSundanceKid
@ButchCassidyAndSundanceKid Жыл бұрын
What about rebase and merge, and also how to resolve conflicts ?
@TarekFaham
@TarekFaham 3 жыл бұрын
I'm enjoying your videos... Please show us how to push a new local project in a brance that is not the master branch how push such a branch to a remote branch.
@codegagan
@codegagan 4 жыл бұрын
this is what exactly I was looking for, nice and simple video.
@Ihatetomatoes
@Ihatetomatoes 4 жыл бұрын
Thanks, great to hear that it was useful. Are you new to Git or VSCode? Or both?
@Ihatetomatoes
@Ihatetomatoes 4 жыл бұрын
Also I am curious, how did you find this video?
@mansidara7427
@mansidara7427 3 жыл бұрын
which git extension you are using ?
@danydanger
@danydanger 2 жыл бұрын
Very nice and informative video, keep up the good work, one more that could have been added is to show how to create an merge request after git clone ->git branch-> git commit --> Merge Request …and post merge view on the VScode GUI
@brahimwebmaster
@brahimwebmaster 4 жыл бұрын
Thank you for this video, I want to ask how did you get the colored branch names extension on your terminal?
@Ihatetomatoes
@Ihatetomatoes 4 жыл бұрын
That's ohmyzsh github.com/ohmyzsh/ohmyzsh
@trovr
@trovr 3 жыл бұрын
@@Ihatetomatoes very nice one!
@paolo-1283
@paolo-1283 3 жыл бұрын
@@Ihatetomatoes Very cool, recently installed it but can't find the specific theme you used on this video, what's the name of the theme?
@jasonpeel5903
@jasonpeel5903 3 жыл бұрын
@@paolo-1283 zsh2000 if you havent found it already. But or maybe agnoster.zsh-theme
@dimazl9611
@dimazl9611 3 жыл бұрын
thank you for a video! Can you tell mi, which plugin of git you used in this video? (color branch is look really comfortable)
@Johny-d4v
@Johny-d4v 3 жыл бұрын
Did you know the name of this plugin?
@andremichalowski735
@andremichalowski735 3 жыл бұрын
An easier way to create a new repo is (provided that you have your terminal setup with the write package managers/etc)(if you aren't trying to initialize from scratch): 1) Go to github and create new repo from "+" menu 2) copy the link 3) run 'git clone [github link]" in a folder on your local drive 4) cd into the folder and type 'code .' to open in vscode 5) run 'git checkout -b [branch-name]' to make a new branch 6) Make a change then run 'git add .' (to stage changes), then 'git push origin [name of branch]' 7) Click the link to go to gh and push your changes
@Trazynn
@Trazynn 4 жыл бұрын
Really glad to have found this channel. Feeling obsessed with SVG's even though handling them in code is still outside of my comfort zone.
@Ihatetomatoes
@Ihatetomatoes 4 жыл бұрын
Thank you and welcome to the channel. With little bit of practice you will be handling them without any issues.
@Trazynn
@Trazynn 4 жыл бұрын
I love the reverse engineering content. There's very little on KZbin about it.
@sanilkp6180
@sanilkp6180 3 жыл бұрын
Thank you very much! This tutorial helped me a lot! I enjoyed the teachings!
@PaulMEdwards
@PaulMEdwards 4 жыл бұрын
Pushing to origin can be accomplished using the VS Code GUI by clicking the cloud icon with up arrow to the right of the branch name. It's the same icon that becomes the circular arrows after Petr did the push in the terminal. That icon, when it is the two circular arrows, performs a Sync which both pushes and pulls changes.
@igrejaeciencia9654
@igrejaeciencia9654 3 жыл бұрын
Thank you for the video. It finally worked. Great explanation.
@hakansvensson9250
@hakansvensson9250 3 жыл бұрын
Really good presentation
@arokianathanrobert7752
@arokianathanrobert7752 3 жыл бұрын
Great work. To the point. Keep it going
@arandomperson5979
@arandomperson5979 3 жыл бұрын
this is a literal godsend. thank you
@Ihatetomatoes
@Ihatetomatoes 3 жыл бұрын
Thanks Camilla!
@theunfrailhale
@theunfrailhale 4 жыл бұрын
Brilliant demo. Simple and to the point. Thanks!
@Ihatetomatoes
@Ihatetomatoes 4 жыл бұрын
Thanks man!
@mrnikfal
@mrnikfal 4 жыл бұрын
Thanks for the video. Git History is a complementary extension for git in VS-Code. I guess a new video for the extension is useful.
@ahmet3592
@ahmet3592 2 жыл бұрын
Very good video. Exactly what I needed
@alasgarm531
@alasgarm531 3 жыл бұрын
Thank you for this amazing video
@valquirsouza1329
@valquirsouza1329 3 жыл бұрын
Dude I gonna save this vido in favorites and offline in my computer just to be sure
@siyedyoussef3202
@siyedyoussef3202 4 жыл бұрын
One of the best playlist about git👏👏👏👏
@Ihatetomatoes
@Ihatetomatoes 4 жыл бұрын
Thank you Siyed, what's missing to make it the best? 😁👊
@gilbertlopez
@gilbertlopez 4 жыл бұрын
@@Ihatetomatoes Tomatoes
@biswajitsamantaray3117
@biswajitsamantaray3117 3 жыл бұрын
@@Ihatetomatoes Wonderful, but what about how to switch back to a previous commit/s.
@tavusion
@tavusion 2 жыл бұрын
Never imagined I'd learn about coding from Moby.
@envyos814
@envyos814 2 жыл бұрын
Great video. what is the name of that extension in the terminal?
@SubodhKumarsubodhPMP
@SubodhKumarsubodhPMP 3 жыл бұрын
Short and effective !!
@MarcelSchalk
@MarcelSchalk 2 жыл бұрын
What's the extension for this nice looking "git-start | master" in your Terminal?
@Ihatetomatoes
@Ihatetomatoes 2 жыл бұрын
Oh My Zsh ohmyz.sh/
@ed6393
@ed6393 4 жыл бұрын
Really good video. Clear and concise. Thank you.
@marielc6420
@marielc6420 2 жыл бұрын
Hi, Peter is a great video but, tell me, Do I have to create the git folder? or where I do find it? Sorry, I am new in this
@asdfafafdasfasdfs
@asdfafafdasfasdfs 2 жыл бұрын
What is that "git-start"+branch prompt on your terminal?
@bimalkumarsingh1653
@bimalkumarsingh1653 3 жыл бұрын
Thanks a lot, finally I can manage my projects more efficiently
@antoniyveremko2804
@antoniyveremko2804 2 жыл бұрын
What's the plugin do you use to visualize git things in termenal?
@bodnarsa
@bodnarsa 4 жыл бұрын
Thank you very much Petr. Good job!
@Ihatetomatoes
@Ihatetomatoes 4 жыл бұрын
Thank you too!
@parhamabolghasemi5123
@parhamabolghasemi5123 2 жыл бұрын
Great tutorial, thanks 🙏
@goodmanshawnhuang
@goodmanshawnhuang 2 жыл бұрын
Thanks a lot for sharing this, very useful.
@Odisej1
@Odisej1 2 жыл бұрын
what do you use to have that nice branch names in terminal?
@MuhammadAli-sx1qv
@MuhammadAli-sx1qv 2 жыл бұрын
You are the Master.
@mateuniverse
@mateuniverse 3 жыл бұрын
how do you cool color arrows in your terminal?
@sandeepshetty8480
@sandeepshetty8480 3 жыл бұрын
i made few changes in my local branch and now i have to work on another branch how to shift and save previous work locally
@DenRoedeMogM
@DenRoedeMogM 2 жыл бұрын
Thx for the video, just wanted to know about the "GitStart/Master" in blue and green showing in your terminal..? is that exclusive for iOS or is it an extension that i could add..?
@Sumll359
@Sumll359 2 жыл бұрын
hey helpful video but please help me with the commands run in terminal after cloning
@jaehyeonroberthan763
@jaehyeonroberthan763 4 жыл бұрын
Thank you for the new video!!! btw, how can I setting the blue labels which has the file name (for example, 'git-start') in the terminal? is that an extension? Thank you !
@Ihatetomatoes
@Ihatetomatoes 4 жыл бұрын
Thanks. You can install Oh My Zsh to get the colored terminal. github.com/ohmyzsh/ohmyzsh
@Ihatetomatoes
@Ihatetomatoes 4 жыл бұрын
Btw how did you find this video? Did you come from the old one? I am curious. Thanks
@jaehyeonroberthan763
@jaehyeonroberthan763 4 жыл бұрын
@@Ihatetomatoes I came here from the old one :) I searched 'github in vs mac' and i got the old video and I saw ur comment about the new video. Thank you for good explanation. If you don't mind, could you make a video how to merge the branch into master?
@Ihatetomatoes
@Ihatetomatoes 4 жыл бұрын
No worries, here is the video on Git branches that includes merging - kzbin.info/www/bejne/p4qZeqKlh9GBfas Or check out the whole Git tutorials playlist: kzbin.info/www/bejne/eqa0fKWKrMqKd5Y
@AnkitSingh-yh9bq
@AnkitSingh-yh9bq 2 жыл бұрын
how can i get that colored terminal showing master branch in color ,please help
@CL-ki7se
@CL-ki7se 3 жыл бұрын
Very well done! Thank you so much. The clearest explaination of all for me and what I needed. Exactly on and to the point. Sub and like! ;) Looking forward to check more of your content
@Pareshbpatel
@Pareshbpatel 3 жыл бұрын
Great intro to using Git with VSC - Thanks! {2021-10-26}
@shirleygordon7438
@shirleygordon7438 4 жыл бұрын
THANK YOU!!! This is such a great video and helped me a lot
@Ihatetomatoes
@Ihatetomatoes 4 жыл бұрын
Thank you.
@AlThePal78
@AlThePal78 4 жыл бұрын
what extension are you using so your terminal looks like that I can't see master on mine it says powershell
@Ihatetomatoes
@Ihatetomatoes 4 жыл бұрын
You need to install ohmyzsh. github.com/ohmyzsh/ohmyzsh
@akashno3542
@akashno3542 3 жыл бұрын
The comment which i am looking for
@sachinmainkar
@sachinmainkar 2 жыл бұрын
Sir, these videos are fantastic and most helpful. They are helping me learn VSCode very nicely. Is the ‘ publish ‘ action ( clicking on the cloud icon in status bar) the same as the ‘push’ action ? If not what is the difference ? Thank you very much.
@daniellyonv1
@daniellyonv1 4 жыл бұрын
Men thank you for the video, very clear and useful. Regards from Chile.
@Ihatetomatoes
@Ihatetomatoes 4 жыл бұрын
Thank you Daniel!
@JohnCarrFitness
@JohnCarrFitness 3 жыл бұрын
What do you do if your name and email isn't setup in git config?
@victorpinasarnault9135
@victorpinasarnault9135 3 жыл бұрын
How you have mark in the terminal?
@ruggeddog3103
@ruggeddog3103 4 жыл бұрын
Subscribed because of "dev ed " channel
@Ihatetomatoes
@Ihatetomatoes 4 жыл бұрын
Thank you Fahad. Welcome to the channel!
@chakchakaa
@chakchakaa 2 жыл бұрын
Can I still able to git clone repo even without Admin access in the computer? please reply thank you.
@arjunhadke1113
@arjunhadke1113 2 жыл бұрын
Good video to get started.
@recyclebininfinity4983
@recyclebininfinity4983 3 жыл бұрын
great video, i just wish you could explain exactly what we are looking at when we make the first couple commits and how to go back through the log to see what changes were actually made compared to the original master??? sorry i am just a complete noob and this was very helpful but i may need an even more dumbed down explanation
@nithinuppalapati2882
@nithinuppalapati2882 4 жыл бұрын
How to add tags to the commit? Can you please help me?
@thiagomrvieira
@thiagomrvieira 3 жыл бұрын
Thank you. Simple and high quality content.
@anjalimishra2979
@anjalimishra2979 2 жыл бұрын
How to see branch names in terminal? I tried but ut does not show up.
@richardclark4111
@richardclark4111 4 жыл бұрын
Hey from UA bro! You do good work!
@Ihatetomatoes
@Ihatetomatoes 4 жыл бұрын
Thanks Richard!
@user-or7ji5hv8y
@user-or7ji5hv8y 3 жыл бұрын
Great video. Concise and clear.
@ox_mage2562
@ox_mage2562 3 жыл бұрын
what does stage or staged changes mean?
@RobertoDeMontecarlo
@RobertoDeMontecarlo 3 жыл бұрын
Perfect! That's what I need!
@hans6458
@hans6458 4 жыл бұрын
Great Video! Please make another one to explain how to merge a branch into the master-branch..
@Ihatetomatoes
@Ihatetomatoes 4 жыл бұрын
Thanks Florian, here is the video covering branches and merging - kzbin.info/www/bejne/p4qZeqKlh9GBfas
@hans6458
@hans6458 4 жыл бұрын
@@Ihatetomatoes Thank You Petr!
@aneesahmed6302
@aneesahmed6302 2 жыл бұрын
how to make terminal attractive as it is seen in yours in blue & green? what extension is required
@toby9999
@toby9999 Жыл бұрын
Terminals are so 1990s. Time to toss them in favor of GUIs. It's the 21st century. We have multi core CPUs, huge monitors and powerful graphics.... and people are still frantically typing cryptic codes into archaic command windows. It's nuts.
@pleabargain
@pleabargain 4 жыл бұрын
01:20 git config --list will show you the existing content
@martinemmerson2809
@martinemmerson2809 Жыл бұрын
Great work
@Ihatetomatoes
@Ihatetomatoes Жыл бұрын
Thanks Martin!
@snapdeus
@snapdeus 3 жыл бұрын
thanks very much!
@temitopeagoro4603
@temitopeagoro4603 3 жыл бұрын
When I copy and paste the git remote add from github into visual studio code I get this "fatal: not a git repository (or any of the parent directories): .git" and I'm unable to push the code to my Github repository. Please help.
@KristianKirilov
@KristianKirilov 3 жыл бұрын
Really useful. Thanks mate!
@FahadKhan-rp3rz
@FahadKhan-rp3rz 4 жыл бұрын
Good explanation and to the point.
@parikshitbhoyar81
@parikshitbhoyar81 4 жыл бұрын
Is there a way to clone specific branch of the git repo in VS code?
@daniellaerachannel
@daniellaerachannel 4 жыл бұрын
excellent tutorial Petr! the best
@Ihatetomatoes
@Ihatetomatoes 4 жыл бұрын
Thank you!
@banusri9203
@banusri9203 4 жыл бұрын
Very clear , simple and high quality video. I find your accent cute. :)
@paulkevinkoehler9490
@paulkevinkoehler9490 4 жыл бұрын
Another great video, Petr, thank you. Have you covered the differences between fetch and pull? That's confused me in the past and may confuse others as well.
@Ihatetomatoes
@Ihatetomatoes 4 жыл бұрын
Thanks Paul, I think I have mentioned it somewhere but might do a short video dedicated to pull vs fetch.
@paulkevinkoehler9490
@paulkevinkoehler9490 4 жыл бұрын
@@Ihatetomatoes Good stuff!
@borg_cube
@borg_cube 3 жыл бұрын
So the "origin" is basically the remote "master" (main) in the github cloud? Also, what is the difference between "origin" and "HEAD"? Thank you very much for the info.
@iamtheasad
@iamtheasad 2 жыл бұрын
Wel done great job bro...
The basics of Git. Learn the basic Git commands.
13:46
Ihatetomatoes
Рет қаралды 8 М.
Zed “kills” VSCode
12:10
Alex Ziskind
Рет қаралды 901 М.
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
Симбочка Пимпочка
Рет қаралды 4,3 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 10 МЛН
Visual Studio Code | How to use git and github
16:21
Automation Step by Step
Рет қаралды 569 М.
Git MERGE vs REBASE: The Definitive Guide
9:39
The Modern Coder
Рет қаралды 131 М.
Stow has forever changed the way I manage my dotfiles
8:09
Dreams of Autonomy
Рет қаралды 268 М.
Powerful VSCode Tips And Tricks For Python Development And Design
15:50
Up and Running with Visual Studio Code and GitHub
39:04
Bill Raymond
Рет қаралды 26 М.
Git Tutorial For Dummies
19:25
Nick White
Рет қаралды 1,2 МЛН
git rebase - Why, When & How to fix conflicts
9:45
Philomatics
Рет қаралды 63 М.
So You Think You Know Git - FOSDEM 2024
47:00
GitButler
Рет қаралды 1,3 МЛН
Git branches tutorial. How to use Git branches.
9:11
Ihatetomatoes
Рет қаралды 16 М.
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
Симбочка Пимпочка
Рет қаралды 4,3 МЛН