Let’s learn Git! Your ultimate guide

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ก.ย. 2024

ความคิดเห็น • 96

  • @DzintarsDev
    @DzintarsDev 10 หลายเดือนก่อน +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 10 หลายเดือนก่อน +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 10 หลายเดือนก่อน

      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 10 หลายเดือนก่อน

      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 10 หลายเดือนก่อน

      @@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  10 หลายเดือนก่อน +2

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

  • @danieleinfante3930
    @danieleinfante3930 10 หลายเดือนก่อน +4

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

    • @netbirdio
      @netbirdio 10 หลายเดือนก่อน +2

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

    • @maltekerssenfischer796
      @maltekerssenfischer796 10 หลายเดือนก่อน +1

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

    • @danieleinfante3930
      @danieleinfante3930 10 หลายเดือนก่อน

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

    • @netbirdio
      @netbirdio 10 หลายเดือนก่อน

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

    • @killua_148
      @killua_148 10 หลายเดือนก่อน

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

  • @Glatze603
    @Glatze603 10 หลายเดือนก่อน +4

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

    • @christianlempa
      @christianlempa  10 หลายเดือนก่อน

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

    • @Glatze603
      @Glatze603 10 หลายเดือนก่อน

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

    • @christianlempa
      @christianlempa  10 หลายเดือนก่อน

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

  • @billramsey5252
    @billramsey5252 10 หลายเดือนก่อน +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!

    • @christianlempa
      @christianlempa  10 หลายเดือนก่อน +2

      Thanks! Hope you enjoy :)

  • @mistakek
    @mistakek 10 หลายเดือนก่อน +6

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

  • @anassnasserallah9883
    @anassnasserallah9883 10 หลายเดือนก่อน

    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

  • @Misakvl
    @Misakvl 10 หลายเดือนก่อน +2

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

    • @christianlempa
      @christianlempa  10 หลายเดือนก่อน

      Thanks! It's called Warp

  • @baconandgames
    @baconandgames 5 หลายเดือนก่อน

    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  5 หลายเดือนก่อน

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

  • @KS-wr8ub
    @KS-wr8ub 10 หลายเดือนก่อน +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  10 หลายเดือนก่อน

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

    • @KS-wr8ub
      @KS-wr8ub 10 หลายเดือนก่อน

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

  • @romayojr
    @romayojr 10 หลายเดือนก่อน +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  10 หลายเดือนก่อน +1

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

  • @SteveArv
    @SteveArv 10 หลายเดือนก่อน +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.

  • @sebastiandanielsson
    @sebastiandanielsson 10 หลายเดือนก่อน

    Netbird really just look like a Tailscale clone.

  • @dougmuzuva4940
    @dougmuzuva4940 9 หลายเดือนก่อน

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

  • @grimtagnbag
    @grimtagnbag 10 หลายเดือนก่อน +1

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

  • @niktaylor169
    @niktaylor169 7 หลายเดือนก่อน

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

  • @killua_148
    @killua_148 10 หลายเดือนก่อน

    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"

  • @eddwinpaz
    @eddwinpaz 9 หลายเดือนก่อน

    how you do the auto complete suggestions?

  • @cirniman
    @cirniman 10 หลายเดือนก่อน

    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.

  • @lonesomewalker
    @lonesomewalker 10 หลายเดือนก่อน

    Not really good for beginners.

  • @timelschner8451
    @timelschner8451 10 หลายเดือนก่อน +1

    Danke Christian, sehr gut erklärt.

  • @lolikpof
    @lolikpof 6 หลายเดือนก่อน

    How did you configure your terminal like that?

    • @christianlempa
      @christianlempa  6 หลายเดือนก่อน

      Check otu my macOS terminal videos!

  • @Jordan-ln3yc
    @Jordan-ln3yc 10 หลายเดือนก่อน

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

  • @Jonteponte71
    @Jonteponte71 10 หลายเดือนก่อน

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

  • @JarrodCoombes
    @JarrodCoombes 10 หลายเดือนก่อน

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

  • @kurry_wayne
    @kurry_wayne 10 หลายเดือนก่อน

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

  • @michaelkrailo5725
    @michaelkrailo5725 6 หลายเดือนก่อน

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

    • @christianlempa
      @christianlempa  6 หลายเดือนก่อน

      It's coming from the Warp Terminal

    • @michaelkrailo5725
      @michaelkrailo5725 6 หลายเดือนก่อน

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

  • @oldcmputer
    @oldcmputer 6 หลายเดือนก่อน

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

    • @christianlempa
      @christianlempa  6 หลายเดือนก่อน

      Thank you so much! :)

  • @djKenpLan09
    @djKenpLan09 10 หลายเดือนก่อน

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

  • @DanzilF
    @DanzilF 9 หลายเดือนก่อน

    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  8 หลายเดือนก่อน

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

  • @s3baGeN
    @s3baGeN 10 หลายเดือนก่อน

    Awesome tutorial! Simply explained, great for beginners.

    • @christianlempa
      @christianlempa  10 หลายเดือนก่อน

      Glad it was helpful!

  • @iblackfeathers
    @iblackfeathers 10 หลายเดือนก่อน

    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.

    • @christianlempa
      @christianlempa  10 หลายเดือนก่อน

      Currently, Apple Keynote :)

  • @PaulMetalhero
    @PaulMetalhero 10 หลายเดือนก่อน

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

    • @christianlempa
      @christianlempa  10 หลายเดือนก่อน +1

      Thanks for watchting :)

  • @parheliaa
    @parheliaa 9 หลายเดือนก่อน

    Great tutorial. Waiting for the next part.

  • @matthiashavrez
    @matthiashavrez 10 หลายเดือนก่อน

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

    • @christianlempa
      @christianlempa  10 หลายเดือนก่อน

      Thanks I hope so too 👌

  • @yurilsaps
    @yurilsaps 6 หลายเดือนก่อน

    Omg! So good tutorial

  • @nalle475
    @nalle475 10 หลายเดือนก่อน

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

    • @christianlempa
      @christianlempa  10 หลายเดือนก่อน

      Absolutely! Thanks! :)

  • @ninja2807
    @ninja2807 10 หลายเดือนก่อน

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

    • @christianlempa
      @christianlempa  10 หลายเดือนก่อน

      Thank you so much! :)

  • @joey0ll0x22
    @joey0ll0x22 10 หลายเดือนก่อน

    Great Content! 👍

  • @jakewhitworth5813
    @jakewhitworth5813 10 หลายเดือนก่อน

    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!

  • @СтепанИванов-ц1й
    @СтепанИванов-ц1й 7 หลายเดือนก่อน

    cool video)

  • @h2sop160
    @h2sop160 10 หลายเดือนก่อน

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

  • @ronm6585
    @ronm6585 10 หลายเดือนก่อน

    Thanks Christian.

  • @tba77
    @tba77 10 หลายเดือนก่อน

    Great one and very clear looking forward for the next one

    • @christianlempa
      @christianlempa  10 หลายเดือนก่อน

      Glad you enjoyed it

  • @jweber2954
    @jweber2954 10 หลายเดือนก่อน

    Thanks a lot, this was much needed

  • @nitproject5193
    @nitproject5193 10 หลายเดือนก่อน

    nice, but way too basic

    • @bubi352
      @bubi352 10 หลายเดือนก่อน

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

  • @sribasgmail
    @sribasgmail 10 หลายเดือนก่อน

    Fantastic as always!