Using Git & GitHub in VSCode: Stage, Commit, and Push

  Рет қаралды 31,369

Max on Tech

Max on Tech

Күн бұрын

Hi everyone, in this video, we'll cover the basics of using Git and GitHub with VSCode.
◾◾◾◾◾ Related Content ◾◾◾◾◾
Branches, Pull Requests, and Merging in VS Code:
• Using Git & GitHub in ...
◾◾◾◾◾ Timestamps ◾◾◾◾◾
00:00 | What we'll cover?
00:23 | Why use Git?
00:44 | Git vs. GitHub: What's the difference?
01:07 | Check Git Version and Path
01:55 | Setup a Git Repository (Initialize)
03:48 | Tracking and Discarding Changes (Add)
04:46 | Saving Changes (Commit)
06:07 | Publish to GitHub
08:57 | Make Changes to Remote GitHub File (Commit & Push)
10:26 | Sync Changes from GitHub to Local File (Pull)
11:45 | Staging, i.e., Choosing Changes to Commit (Stage)
◾◾◾◾◾ 🌎 Let's Connect! ◾◾◾◾◾
🐦 Twitter (X): 🔗 / @max_on_tech
📂 GitHub: 🔗 github.com/maxontech
🔊 Discord: 🔗 / discord
🏹 ProductHunt: 🔗 www.producthunt.com/@m4x
✅ Blog: 🔗 maxontech.io/courses
◾◾◾◾◾ Hashtags ◾◾◾◾◾
#Vscode #Stage #Commit #Push #Git #Github

Пікірлер: 30
@cheemsburbger5622
@cheemsburbger5622 5 ай бұрын
thank youu! this really helped me understand git, its short and direct to the point unlike other vids
@tryfon8672
@tryfon8672 4 ай бұрын
I watched so many videos on that, as a baeginner i can say that yours was by far the easiest to understand. Thanks a lot!
@MaxOnTech
@MaxOnTech 4 ай бұрын
hey, that's awesome! keep going 💪:)
@keenanwekesa1723
@keenanwekesa1723 16 күн бұрын
As a self-taught dev, this is simple, straightforward, and really easy to understand.
@blangkowala2395
@blangkowala2395 12 күн бұрын
why in my vs code there is no .git??
@deldridg
@deldridg 2 ай бұрын
Wonderful tutorial Max and thank you. I've been a dev for many years but am only now moving to VS Code and Git, primarily working with Django. You have saved me a lot of time and effort and for that I am very grateful. You have a wonderfully calm way of teaching and your efforts are much appreciated. Cheers from a new Aussie sub in Sydney - Dave
@MaxOnTech
@MaxOnTech 2 ай бұрын
hey, thanks for the kind words! all the best dave 🫡
@sagarr7940
@sagarr7940 3 ай бұрын
Thanks for your clear way of explaining things.🥰
@MaxOnTech
@MaxOnTech 3 ай бұрын
Hey sagarr! that's awesome will be making more soon!
@SabbirImon
@SabbirImon 6 ай бұрын
Thanks brother, it really helps to understand basic knowledge ❤❤❤❤
@MaxOnTech
@MaxOnTech 6 ай бұрын
welcome! very glad that it helps
@ezehmmachi2667
@ezehmmachi2667 Ай бұрын
This video was really helpful not going lying, but I had to go watch another on how to config git to continue the video, thanks
@MaxOnTech
@MaxOnTech 28 күн бұрын
hey thanks for the feedback :)
@alananalyst7795
@alananalyst7795 11 ай бұрын
Good stuff 👍👍
@MaxOnTech
@MaxOnTech 11 ай бұрын
thanks :)
@zhyakoxalid6892
@zhyakoxalid6892 5 ай бұрын
I don't know if you'll ever read this, but thank you very much Max. Loved the video, how you presented the video, your voice, your slow and and friendly approach taking in the total newbies like me into consideration. For another video, maybe make sure to stop and clearly define some important common words you use in the video and are vital to the software/ Vscode here. For example, you Max might understand what Push, pull, staging means, but if you could further go and search, explain them with analogies and maybe even put the m in the description, that would be great. I think you very well explained "commit" meaning "saving permanently". By watching it the first time, I became so much preoccupied with pausing the video and doing what you do that I could not finish the video, so I thought maybe this is a total waste of time and "JUST" watch the video please: Watch the video in its entirety one time with minimal to no pause to get the gist Then watch the video back and try to replicate what Max/ KZfaq is doing More to read ... I am genuinely curious to know about how other people watch videos. Some people close to me might say oh you overcomplicate everything, oh don't be a perfectionist, but I feel like it is within me to not be able to do things inefficiently. Like why would a 100 people or many more find this video really helpful and even be able to replicate what Max is doing, but I take much more trial and error, it might be that I did not deal with any of these softwares, even MS office until age of 19. I will however just accept it, be grateful to god that I am this diligent and willing to learn and work. Life is all about detecting and solving a problem Thank you Max
@MaxOnTech
@MaxOnTech 5 ай бұрын
Haha, that's awesome! Love these comments as they encourage me to level up and continue! Here's a short answer to the words you mentioned: Push: Is similar to sending your changes to a shared space. When you "push" your changes, you send your changes to that shared space (e.g., GitHub) where others can see it. Pull: Allows you to get the latest changes made by others from the shared space (e.g. GitHub). When you "pull," you're grabbing the most recent updates from the shared space to your own workspace (i.e. your VSCode editor). Staging: Picture a space on your local device for things you want to share in the future. Staging is like preparing your changes before pushing them to the shared space. You put only the specific changes you want to share in this staging area, ensuring you don't accidentally share something you didn't intend to.
@Robin-qf9is
@Robin-qf9is 7 ай бұрын
thanks a lot :))!
@MaxOnTech
@MaxOnTech 7 ай бұрын
You're welcome! Glad it helped!
@joyebot7371
@joyebot7371 8 ай бұрын
Thank you 🎉🎉
@MaxOnTech
@MaxOnTech 8 ай бұрын
welcome 😃
@djfago6240
@djfago6240 2 ай бұрын
welly explained. i have subscribed sir.
@MaxOnTech
@MaxOnTech 2 ай бұрын
hey, awesome ! Thanks
@haniehsolatpour8945
@haniehsolatpour8945 2 ай бұрын
👏👏
@MaxOnTech
@MaxOnTech 2 ай бұрын
:)
@user-uq2ec4ok7d
@user-uq2ec4ok7d 10 ай бұрын
It's Visual Studio Code not Virtual Studio ..........other than that the video is superb!!
@MaxOnTech
@MaxOnTech 10 ай бұрын
true :) got them confused haha. But glad the video helped!
@whateveritwasitis
@whateveritwasitis 4 ай бұрын
How do you make a video about Git and Vscode and not mention or cover setting up global config? I was familiar with it from Linux but forgot about it and had to set it up here, but how do you NOT even mention it? You also take git bash, etc for granted as well. If someone needs to watch this video in the first place, I can assure you these things are worth mentioning.
@einekleineente1
@einekleineente1 Ай бұрын
1:24 for mac users: which git /usr/local/bin/git
@MaxOnTech
@MaxOnTech Ай бұрын
thanks :)
Basics of Visual Studio Code in 8 Minutes! (2023)
8:45
Max on Tech
Рет қаралды 10 М.
Using Git & GitHub in VSCode: Branches, Pull Requests & Merges
8:17
KINDNESS ALWAYS COME BACK
00:59
dednahype
Рет қаралды 147 МЛН
Каха и суп
00:39
К-Media
Рет қаралды 5 МЛН
Git Tutorial For Dummies
19:25
Nick White
Рет қаралды 1 МЛН
Complete Git and GitHub Tutorial
1:12:40
Kunal Kushwaha
Рет қаралды 1,9 МЛН
Code faster with these VS Code shortcuts
8:44
Coder Coder
Рет қаралды 327 М.
It’s time to move on from Agile Software Development (It's not working)
11:07
Git Tutorial for Beginners - Git & GitHub Fundamentals In Depth
43:06
Tech With Tim
Рет қаралды 823 М.
How to be a git expert
46:26
Floating Little Leaves of Code
Рет қаралды 148 М.
Learn Visual Studio Code - Course for Beginners
43:15
Coding with Estefania
Рет қаралды 260 М.
TOP 6 GIT Extensions You Need In VS Code
17:52
Bryan Jenks
Рет қаралды 35 М.
How to use Github with Visual Studio 2022
23:46
Programming w/ Professor Sluiter
Рет қаралды 155 М.
12 VS Code Extensions to INCREASE Productivity 2024
27:13
Devression
Рет қаралды 574 М.
KINDNESS ALWAYS COME BACK
00:59
dednahype
Рет қаралды 147 МЛН