Let’s learn Git! Your ultimate guide

Sdílet
Vložit
  • čas přidán 2. 06. 2024
  • In today's video, I'm exploring Git, an indispensable tool for everyone in the IT field, not just developers. I'll break down what makes Git unique and show you some basic commands to kick-start your journey in managing and tracking your projects effectively. #DevOps #TechTutorial
    NetBird.io-*: netbird.io
    Use the Discount Code "CHRISTIAN_LEMPA", to get a 20% off all NetBird Team or Business plans!
    ________________
    💜 Support me and become a Fan
    → christianlempa.de/patreon
    💬 Join our Community
    → christianlempa.de/discord
    👉 Follow me everywhere
    → christianlempa.de
    ________________
    Read my Tech Documentation
    christianlempa.de/docs
    My Gear and Equipment-*
    christianlempa.de/kit
    ________________
    Timestamps:
    00:00 - Introduction
    00:52 - Advertisement-*
    02:10 - What is Git?
    05:20 - How to install, and configure
    07:45 - Create your first Git Project
    10:54 - Git Basics
    18:23 - Git Log, Undo Commits
    ________________
    All links with “`*`” are and/or include affiliate links.
  • Věda a technologie

Komentáře • 96

  • @DzintarsDev
    @DzintarsDev Před 6 měsíci +25

    The issue with Git is not that those commands are hard. The hardest part is commit hygiene. Nobody have a clear idea how to commit, what to commit and what to write in msg. 99% (just my wild guess) of Git users are just dumping the current progress. But in reality every commit should be crafted so that you can work with ot later. Rollback, cherrypick, etc.

    • @darrennienaber6488
      @darrennienaber6488 Před 6 měsíci +3

      100% agree with you here! Another thing with which most tutorials lack, is the handling of conflicts, getting into base, current, incoming, PR conflict managing (backup branch strategies), it's mostly basics, rinse repeat...Not to devalue this video, just an observational opinion!

    • @Dev-sf3pz
      @Dev-sf3pz Před 6 měsíci

      I had similar experience. Every tut I looked at showed commands and explained what they did, but I don't think I ever found any which explained the flow of git when working on code. I basically picked chat GPT's brains for a number of sessions asking things like "what would the industry standard for implementing a new feature to a project look like using git", things like that. It's still a bit of a mystery of knowing or even remembering when to stage or commit. I think I've got the branch side fairly well organised... new branch for new feature; a hotfix branch.... merging is a bit nerve wracking at first until you learn conflicts are normal and common, and the merge conflicts UI in VS Code is a God send for that.

    • @wesleyroodrigo
      @wesleyroodrigo Před 6 měsíci

      I feel that git commit hygiene comes with professional experience. People who is starting to versioning their code doesn't have the knowledge about what they should document, when and why. That comes when you start working in a company and you need to follow an organization structure, detailed projects, some products that follow up with version changes.

    • @darrennienaber6488
      @darrennienaber6488 Před 6 měsíci

      @@wesleyroodrigo Yes it does come with professional experience👌🏻My point being is it's not difficult to set up a few git issues scenarios in a tutorial and say "hey when I submit this PR i get conflicts, what could be happening, lets take a look and see how we got to this situation...oh no my branch now contains UAT configurations, no worries I have a feature backup" there are A LOT of painstaking strategies missing from 90% of resources out there...I DEFINITELY hated learning the hard way!

    • @christianlempa
      @christianlempa  Před 6 měsíci +2

      That's a good suggestion! Of course, we'll dive into branches, issues and PRs in future videos ;)

  • @mistakek
    @mistakek Před 6 měsíci +5

    This is something I've been wanting to learn. Thank you for this. Looking forward to the rest of the series.

  • @jakewhitworth5813
    @jakewhitworth5813 Před 6 měsíci

    Ty for this been waiting for you to do something along the lines of this!!! Love the content glad you're back doing things you want to!

  • @billramsey5252
    @billramsey5252 Před 6 měsíci +9

    This is awesome! I have been trying to wrap my head around git for years now. I look forward to more tutorials in the series!

  • @timelschner8451
    @timelschner8451 Před 6 měsíci +1

    Danke Christian, sehr gut erklärt.

  • @SteveArv
    @SteveArv Před 6 měsíci +2

    That was great Christian. Love your work. Great content and great delivery as always. I wish i was able to teach people as well as you do. You are truly amazing.

  • @grimtagnbag
    @grimtagnbag Před 6 měsíci +1

    Ty for doing videos on what others would call simple. I’m learning and your work helps me ty ty ty

  • @kurry_wayne
    @kurry_wayne Před 6 měsíci

    Thank you for creating useful content, void of unnecessary bloated commentary while maintaining an entertaining pretense. It is much appreciated.

  • @h2sop160
    @h2sop160 Před 6 měsíci

    Ich bin sehr happy, dass Du das Thema angehst und zeigst! Danke dafür! 😎

  • @Glatze603
    @Glatze603 Před 6 měsíci +4

    Hi Christian, when can we expect a video about Netbird?

    • @christianlempa
      @christianlempa  Před 6 měsíci

      It will take some time, but it's coming somewhere next year for sure :)

    • @Glatze603
      @Glatze603 Před 6 měsíci

      @@christianlempa Wait till they support ios-devices - seems in beta right now 🙂

    • @christianlempa
      @christianlempa  Před 6 měsíci

      @@Glatze603 oh yeah they have some very cool features in the pipeline

  • @oldcmputer
    @oldcmputer Před 2 měsíci

    Literally the best DevOps / Infra tech channel on the Internet. Danke my dude... from Chicago w/ love. ❤

  • @parheliaa
    @parheliaa Před 5 měsíci

    Great tutorial. Waiting for the next part.

  • @DanzilF
    @DanzilF Před 4 měsíci

    Hey Christian, loving this content. I think you are creating content on subjects that are not frequently covered, or at least, not covered in a way you explain them. When I started with git, it was difficult for me to understand the concept, but you hit the nail on its head and managed to explain it using simple terms in 20 minutes. Because I don't use git all the time, it still get confusing at times for me... especially when I mess something up and have to revert changes etc... And you still mentioned things I was not aware of! But, the point is, well done, keep going strong!

    • @christianlempa
      @christianlempa  Před 4 měsíci

      Thank you so much! This is great feedback. :)

  • @tba77
    @tba77 Před 6 měsíci

    Great one and very clear looking forward for the next one

  • @sribasgmail
    @sribasgmail Před 6 měsíci

    Fantastic as always!

  • @ninja2807
    @ninja2807 Před 6 měsíci

    This was a great tutorial on Git... I am glad to see that your tutorials now are much more like when you have started the channel.👏👏

  • @s3baGeN
    @s3baGeN Před 6 měsíci

    Awesome tutorial! Simply explained, great for beginners.

  • @jweber2954
    @jweber2954 Před 6 měsíci

    Thanks a lot, this was much needed

  • @djKenpLan09
    @djKenpLan09 Před 6 měsíci

    There's Christian to our tech-rescue again! Thanks man - another great tutorial!

  • @nalle475
    @nalle475 Před 6 měsíci

    Thanks Christian, this is the basic knowledge every HomeLabber needs before starting to mess with containers and scripts. 👍👍👍

  • @dougmuzuva4940
    @dougmuzuva4940 Před 5 měsíci

    @mcdoug I enjoy your simple clear explanations breaking down the missing dots of this wonderful subject of Git.

  • @ronm6585
    @ronm6585 Před 6 měsíci

    Thanks Christian.

  • @matthiashavrez
    @matthiashavrez Před 6 měsíci

    oh I'm pretty sure this video will do numbers. Thanks !

  • @joey0ll0x22
    @joey0ll0x22 Před 6 měsíci

    Great Content! 👍

  • @baconandgames
    @baconandgames Před měsícem

    Man, that was an excellent breakdown. Thank you! I'm looking forward to the rest of the series (particularly working with branches and anything related to Gitflow). By the way, what application are you running in this video - the one that looks like Terminal on steroids?

    • @christianlempa
      @christianlempa  Před měsícem

      Thank you so much! It's warp terminal, check out my videos about it :)

  • @yurilsaps
    @yurilsaps Před 2 měsíci

    Omg! So good tutorial

  • @cirniman
    @cirniman Před 6 měsíci

    I would like to see how to use your repo files for my homelab setup etc. how I can tap into your public repo, make changes to my environment and have it saved in my own repo. What happenes when you make improvements on your files, how do tap into these changes, once I have my own repo? Many thanks as always, great video.

  • @PaulMetalhero
    @PaulMetalhero Před 6 měsíci

    Wow, winget did it really easy to install under windows. Thanks for the amazing tutorial!

  • @KS-wr8ub
    @KS-wr8ub Před 6 měsíci +2

    Thank you! 🙌 love these simplified explanations for us that have no background in IT but love to tinker.
    What Terminal app are you using on macOS and what are those extensions you talked about? I’m trying to setup Kitty but feel like I’m not experienced enough to choose between all the features. 😅

    • @christianlempa
      @christianlempa  Před 6 měsíci

      Thank you! :) I'm using Warp in macOS

    • @KS-wr8ub
      @KS-wr8ub Před 6 měsíci

      @@christianlempa Thanks! Had a look at it now and it looks really nice! Downloaded it through brew.
      But… who the f*** thought it was a good idea to implement required login to third party servers and phone home statistics on a terminal application?!? And in a closed source app?! No thanks, no matter how sleek it looks. I’ll have to go back to try and setup Kitty.

  • @Jordan-ln3yc
    @Jordan-ln3yc Před 6 měsíci

    I whould be really interested in a video about proxmox clustering and the different storage solutions that come along with it

  • @danieleinfante3930
    @danieleinfante3930 Před 6 měsíci +4

    Intresting sponsor. It looks very similar to Tailscale, but with an official option to self host. Are there any other differences?

    • @netbirdio
      @netbirdio Před 6 měsíci +2

      Kernel WireGuard is one of the differences! :)
      Also the access control is more convinient in my opinion with the grouping feature

    • @maltekerssenfischer796
      @maltekerssenfischer796 Před 6 měsíci +1

      We looked at both Tailscale and Netbird and went with Netbird in the end

    • @danieleinfante3930
      @danieleinfante3930 Před 6 měsíci

      I think that Tailscale is based on WireGuard too, that’s why I asked

    • @netbirdio
      @netbirdio Před 6 měsíci

      @@danieleinfante3930 yes but the userspace WireGuard. NetBird utilizes the WireGuard kernel module when possible (Linux). Otherwise falls back t ouserspace.

    • @killua_148
      @killua_148 Před 6 měsíci

      @@danieleinfante3930 Yes, the difference is the implementation of the Wireguard protocol. Kernel Wireguard should be faster. Tailscale uses wireguard-go, a user space implementation, which is in teory slower but more flexible. I don't know how much of a difference there is, all I can say is that Tailscale always worked smoothly for me (but i've never tried netbird, I should check it out).

  • @Misakvl
    @Misakvl Před 6 měsíci +2

    Awesome job Christian, thank you. What is the name of this terminal? It looks good.

  • @killua_148
    @killua_148 Před 6 měsíci

    Hi Christian, I don't understand exactly the utility of the Staging Area, to me it looks like a middle step between the Working Area and the committing process. Why do we need the Staging Area? As I understood, you can indeed skip it with "git commit -a"

  • @dominikschneider9157
    @dominikschneider9157 Před 3 měsíci

    Great Video! What is the name of the git extension?

  • @Jonteponte71
    @Jonteponte71 Před 6 měsíci

    When you add in remotes is when it get's confusing for newbies. Which you left out here :)

  • @romayojr
    @romayojr Před 6 měsíci +1

    i’m sure learning this will be helpful at some point but i’m still getting comfortable with your docker containers and kubernetes tutorials 😅

    • @christianlempa
      @christianlempa  Před 6 měsíci +1

      Don’t worry, take your time and learn it one by one 🥰

  • @iblackfeathers
    @iblackfeathers Před 6 měsíci

    what software do you use for those info graphics?
    i've seen a few black friday sites with the same colour scheme. i wonder if there is a common software or theme pack many are using. for example, filen's site has a similar style for their sale page.

  • @anassnasserallah9883
    @anassnasserallah9883 Před 6 měsíci

    Thank you for your video, can you show us how to strcurture branches in a complex project ( for example for in industry, we many different machines and a common part between machines ) how can we work togheter in a project like that and we want to automate some jobs ( testing, deploy...) if any one have a good ressource on how to do it , I will be grateful

  • @user-iw1st2lh7h
    @user-iw1st2lh7h Před 2 měsíci

    cool video)

  • @eddwinpaztl
    @eddwinpaztl Před 5 měsíci

    how you do the auto complete suggestions?

  • @JarrodCoombes
    @JarrodCoombes Před 6 měsíci

    What is xcad on xmac and how do I get it?

  • @michaelkrailo5725
    @michaelkrailo5725 Před 2 měsíci

    How are you getting that intellisense like contextual help menu as you type in git commands?

    • @christianlempa
      @christianlempa  Před 2 měsíci

      It's coming from the Warp Terminal

    • @michaelkrailo5725
      @michaelkrailo5725 Před 2 měsíci

      @@christianlempa Thank you Christian, I will check that terminal out.

  • @lolikpof
    @lolikpof Před 2 měsíci

    How did you configure your terminal like that?

  • @sebastiandanielsson
    @sebastiandanielsson Před 6 měsíci

    Netbird really just look like a Tailscale clone.

  • @lonesomewalker
    @lonesomewalker Před 6 měsíci

    Not really good for beginners.

  • @nitproject5193
    @nitproject5193 Před 6 měsíci

    nice, but way too basic

    • @bubi352
      @bubi352 Před 6 měsíci

      Yeah. Sure. Way to basic for a first episode of a beginners tutorial for a homelab audience. 😅