Let’s learn Git! Your ultimate guide

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 96

  • @DzintarsDev
    @DzintarsDev Год назад +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 Год назад +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 Год назад

      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.

    • @wrroch
      @wrroch Год назад

      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 Год назад

      @@wrroch 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  Год назад +2

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

  • @billramsey5252
    @billramsey5252 Год назад +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!

  • @kurry_wayne
    @kurry_wayne 11 месяцев назад

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

  • @Glatze603
    @Glatze603 Год назад +4

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

    • @christianlempa
      @christianlempa  Год назад

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

    • @Glatze603
      @Glatze603 Год назад

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

    • @christianlempa
      @christianlempa  Год назад

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

  • @mistakek
    @mistakek Год назад +6

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

  • @oldcmputer
    @oldcmputer 8 месяцев назад

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

  • @grimtagnbag
    @grimtagnbag Год назад +1

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

  • @dougmuzuva4940
    @dougmuzuva4940 11 месяцев назад

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

  • @h2sop160
    @h2sop160 11 месяцев назад

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

  • @cirniman
    @cirniman Год назад

    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.

  • @DanzilF
    @DanzilF 10 месяцев назад

    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  10 месяцев назад

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

  • @timelschner8451
    @timelschner8451 Год назад +1

    Danke Christian, sehr gut erklärt.

  • @danieleinfante3930
    @danieleinfante3930 Год назад +4

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

    • @netbirdio
      @netbirdio Год назад +2

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

    • @maltekerssenfischer796
      @maltekerssenfischer796 Год назад +1

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

    • @danieleinfante3930
      @danieleinfante3930 Год назад

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

    • @netbirdio
      @netbirdio Год назад

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

    • @killua_148
      @killua_148 Год назад

      @@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).

  • @SteveArv
    @SteveArv Год назад +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.

  • @ninja2807
    @ninja2807 Год назад

    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.👏👏

  • @anassnasserallah9883
    @anassnasserallah9883 Год назад

    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

  • @Jordan-ln3yc
    @Jordan-ln3yc Год назад

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

  • @nalle475
    @nalle475 Год назад

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

  • @killua_148
    @killua_148 Год назад

    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"

  • @s3baGeN
    @s3baGeN 11 месяцев назад

    Awesome tutorial! Simply explained, great for beginners.

  • @parheliaa
    @parheliaa 11 месяцев назад

    Great tutorial. Waiting for the next part.

  • @Misakvl
    @Misakvl Год назад +2

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

  • @baconandgames
    @baconandgames 7 месяцев назад

    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  7 месяцев назад

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

  • @tba77
    @tba77 11 месяцев назад

    Great one and very clear looking forward for the next one

  • @matthiashavrez
    @matthiashavrez Год назад

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

  • @KS-wr8ub
    @KS-wr8ub Год назад +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  Год назад

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

    • @KS-wr8ub
      @KS-wr8ub Год назад

      @@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.

  • @PaulMetalhero
    @PaulMetalhero Год назад

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

  • @jakewhitworth5813
    @jakewhitworth5813 Год назад

    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!

  • @djKenpLan09
    @djKenpLan09 Год назад

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

  • @niktaylor169
    @niktaylor169 9 месяцев назад

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

  • @ronm6585
    @ronm6585 Год назад

    Thanks Christian.

  • @romayojr
    @romayojr Год назад +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  Год назад +1

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

  • @Jonteponte71
    @Jonteponte71 Год назад

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

  • @iblackfeathers
    @iblackfeathers Год назад

    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.

  • @eddwinpaz
    @eddwinpaz 11 месяцев назад

    how you do the auto complete suggestions?

  • @jweber2954
    @jweber2954 Год назад

    Thanks a lot, this was much needed

  • @michaelkrailo5725
    @michaelkrailo5725 8 месяцев назад

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

    • @christianlempa
      @christianlempa  8 месяцев назад

      It's coming from the Warp Terminal

    • @michaelkrailo5725
      @michaelkrailo5725 8 месяцев назад

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

  • @lolikpof
    @lolikpof 7 месяцев назад

    How did you configure your terminal like that?

    • @christianlempa
      @christianlempa  7 месяцев назад

      Check otu my macOS terminal videos!

  • @JarrodCoombes
    @JarrodCoombes Год назад

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

  • @yurilsaps
    @yurilsaps 7 месяцев назад

    Omg! So good tutorial

  • @joey0ll0x22
    @joey0ll0x22 Год назад

    Great Content! 👍

  • @СтепанИванов-ц1й
    @СтепанИванов-ц1й 8 месяцев назад

    cool video)

  • @sebastiandanielsson
    @sebastiandanielsson Год назад

    Netbird really just look like a Tailscale clone.

  • @lonesomewalker
    @lonesomewalker Год назад

    Not really good for beginners.

  • @nitproject5193
    @nitproject5193 Год назад

    nice, but way too basic

    • @bubi352
      @bubi352 Год назад

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