Git Essentials

Sdílet
Vložit
  • čas přidán 2. 08. 2024
  • Have you ever wanted to learn how to use git, but wasn't sure where to start? In this stand-alone video guide, I'll teach beginners how to use git. We'll go over what a repository is, how to commit and push changes, and more!
    Thanks to Linode for sponsoring this video
    - Set up your own cloud server with Akamai Connected Cloud ➜ learnlinux.link/akamai
    Support Learn Linux TV
    Note: Commission may be earned for any and all links presented here.
    - Support me on Patreon and get early access to new content! ➜ learnlinux.link/patron
    - Check out jay's latest book, Mastering Ubuntu Server 3rd Edition ➜ ubuntuserverbook.com
    - Affiliate store for Linux compatible hardware/accessories ➜ learnlinux.link/amazon
    - Check out the Tiny Pilot KVM for your Homelab ➜ learnlinux.link/tinypilot
    Documentation
    - Check out the blog post for this video ➜ www.learnlinux.tv/?p=1067*🎓 FULL LINUX COURSES FROM LEARN LINUX TV*
    • Linux Crash Course ➜ linux.video/cc
    • Learn tmux ➜ linux.video/tmux
    • Learn vim ➜ linux.video/vim
    • Bash Scripting Series ➜ linux.video/bash
    • Proxmox VE ➜ linux.video/pve
    • Getting Started with Ansible (Udemy) ➜ learnlinux.link/ansible
    • LPI Linux Essentials Workshop (Udemy) ➜ learnlinux.link/linux-essentials
    #*⏰ TIME CODES*:
    00:00 - Intro
    01:23 - Overview
    02:31 - Installing Git
    03:32 - Creating an empty repository
    04:24 - Quck note about branches (not covered, but discussed)
    05:56 - Directory structure of a Git repository
    07:18 - Overview of some basic terminology
    08:23 - Adding a file to version control
    11:01 - git add vs git commit
    12:01 - Setting up user info for git with git config
    13:35 - Commiting a new file
    14:59 - git commit in relation to remote servers
    15:29 - Detecting changes in the repository
    17:23 - Commiting a modification to a file
    19:19 - Reverting a previous commit
    22:09 - Cloning a repository
    24:52 - Pushing an existing repository to Github
    Documentation:
    - Blog article for this video ➜ www.learnlinux.tv/?p=1067
    Official *🌐 LEARN LINUX TV ON THE WEB*
    • Main site ➜ www.learnlinux.tv
    • Community ➜ community.learnlinux.tv
    Learn Linux TV provides technical content that will hopefully be helpful to you and teach you something new. However, this content is provided without any warranty (expressed or implied). Learn Linux TV is not responsible for any damages that may arise from any use of this content. The person viewing Learn Linux TV's content is expected to follow their best judgement and to make their best decisions while working with any related technology. Always make sure you have written permission before working with any infrastructure. Also, be sure that you're compliant with all company rules, change control procedures, and local laws.
    #Git #GitEssentials #GitTutorial
  • Věda a technologie

Komentáře • 76

  • @TheRealJohnMadden
    @TheRealJohnMadden Před rokem +2

    I'm very happy that I made the transition to Linux as my daily driver and that I found your channel. You have been a saving grace in getting me through the first tough months of figuring this whacky world.

  • @bw_merlin
    @bw_merlin Před 2 lety +7

    This was a genuinely fantastic beginner introduction to GIT and I learnt a lot.

  • @lef1970
    @lef1970 Před 2 lety +11

    Perfect timing on this video! Thx.

  • @bobwong8268
    @bobwong8268 Před 2 lety +26

    Thank You Jay 👍👍👍‼️
    Yes, more Git pls.
    Believe we could have multiple versions. Can we roll backwards & forwards as many times we like?
    Thx again.

    • @lef1970
      @lef1970 Před 2 lety +4

      Agreed! More git.

  • @brandongraham3509
    @brandongraham3509 Před 2 lety +3

    Thank you Jay. Looking forward to future git episodes. I'd love to see how to work with others on a project. I think it could be really cool for professional journal articles with LaTeX.

  • @franciscorosciani5834
    @franciscorosciani5834 Před 2 lety +3

    This was an excellent introduction - thanks! I'd love to see a follow-up

  • @lenninlc
    @lenninlc Před 2 lety +1

    Excellent tutorial! Looking forward to the second part !

  • @joshsmith4998
    @joshsmith4998 Před 2 lety

    Thanks for the informative video Jay! Studying up for the Linux+ exam I'm taking in a few weeks and this set me straight on the git setup and syntax.

  • @mostafarazavi8562
    @mostafarazavi8562 Před 9 měsíci

    Thank you so much for creating this fantastic introductory video on Git! Your clear explanations and engaging style make it so much easier for newcomers to grasp the fundamentals. Your efforts in simplifying a complex topic are truly appreciated. Please keep up the great work, and I hope you continue to create more content on Git.👏👏

  • @srsr6099
    @srsr6099 Před 2 lety +3

    Git became essential now
    Thanks Jay

  • @JerryGoNuts
    @JerryGoNuts Před 2 lety +3

    Thank you for this upload. Learned something new re: Git basics. Hope that there is a follow up with advanced tips, etc.

  • @wekiwa7055
    @wekiwa7055 Před 2 lety +1

    Concise and informative Jay, please provide more Git vids!

  • @ElreyRayo
    @ElreyRayo Před 2 lety +1

    1st time I see a full video on GIT, very basic & thorough though. Gracias from TX!

  • @premierjunkie
    @premierjunkie Před 2 lety +1

    First year CS student 👨‍🎓. This is gold to me!

    • @d00dEEE
      @d00dEEE Před 2 lety +1

      Are there any courses (probably in SW Eng curriculum) on revision control systems at your university? I did my degrees 40+ years ago, so this wasn't even on anyone's radar, but in commercial software we started using sccs in the late '80s. When I started hiring people fresh out of school around 2000 up until recently, I thought for sure they'd know one of them, sccs, rcs, cvs, mercurial, git, svn or whatever. Not a clue, we had to bring them up to speed from ground zero.

  • @packmanbp
    @packmanbp Před 2 lety +1

    I need to learn Git and your videos are very clear and understandable for a noob like me, please continue !

  • @stello1972
    @stello1972 Před 2 lety

    Just finished your book. Second read through commencing. Implementation pending. Enormous fun!

  • @christopherjackson2157

    I wish I were better at git. I always feel like I'm groping around in the dark when I use it. I really like the style of your videos. It's remarkable how good you are at making educational content thats accessible to people of all different skill levels.

  • @danielcardona1413
    @danielcardona1413 Před 2 lety +1

    Thanks for your precious content Jay, keep it up!!!🙏

  • @janpedersen9120
    @janpedersen9120 Před 2 lety +1

    I came here initially for the ansible series, who i really like.. and now this also, excellent video helping me out.. git branch and that is on a wishlist ;) thanks for shareing your knowledge-

  • @kayathecloudkid
    @kayathecloudkid Před 2 lety

    Yes, please do a follow up. Great content, thanks (from the Netherlands)

  • @redneckrestoration9385

    Thanks Jay. Great preamble to your Ansible series.

  • @jaredlara2850
    @jaredlara2850 Před rokem

    Def waiting for the next one

  • @mikelambert4490
    @mikelambert4490 Před 2 lety

    the first place i went to learn about git was linkedin learning and it was terrible. Thanks for this simple, straight-forward intro. It's exactly what I needed to "git" started!

  • @wesleyelder
    @wesleyelder Před 2 lety +1

    Thank you for the content, very insightful as always!

  • @gpfforte
    @gpfforte Před 2 lety

    Hi Jay, yes, more git please. Perhaps you could explain how to set things up so that it's not required to retype credentials each time when you git pull? You are doing a really great job. Thanks

  • @timothyvaher2421
    @timothyvaher2421 Před rokem

    A Great Video Tutorial Jay! Git Hub is really coming together for me! Of course you can can create more Git content 😜 We'll eat it up! Thanks 🙏

  • @DL-xf3ur
    @DL-xf3ur Před 2 lety

    Thanks Jay. You are awesome!

  • @devinsmith2752
    @devinsmith2752 Před 2 lety +1

    An advanced Git lesson would be welcomed

  • @donaldwatkins892
    @donaldwatkins892 Před rokem

    This is really helpful as are all of your videos.

  • @enoccarrera6497
    @enoccarrera6497 Před 2 lety +1

    This video is amazing keep the good work man

  • @rubberduckey5630
    @rubberduckey5630 Před 2 lety +1

    I just started playing around with git last week. Other than programs I'm working on, I have a repo that holds the appends the fstab file with the nfs shares I add to all of my machines and a script that appends fstab, creates the directories to mount them to, and finally creates symlinks in my home. I figured it was better than trying to keep track of the flash drive lol.

    • @jim7smith
      @jim7smith Před 2 lety

      Could you elaborate on how you accomplish the nuts and bolts of what you are doing with your scripts?
      Thanks in advance.

  • @ericr5481
    @ericr5481 Před 2 lety +2

    More Git pls. And thank you for this video.

  • @seanvucich
    @seanvucich Před 2 lety +2

    Yes please, more git... Keen on a series :)

  • @MrRefael33
    @MrRefael33 Před 2 lety +1

    Thanks for the video,
    can you please do a followup video for git branches.

  • @kennethkipchumba2532
    @kennethkipchumba2532 Před 2 lety

    Great content as always.

  • @AnonyMap1
    @AnonyMap1 Před 2 lety

    Great stuff!

  • @guilherme5094
    @guilherme5094 Před 2 lety

    Thanks Jay.

  • @MichaelWeston82
    @MichaelWeston82 Před 2 lety +1

    Thumbs up on more git videos...using ssh would be cool. Appreciate all you do!!

  • @syamantakpati9009
    @syamantakpati9009 Před 2 lety +1

    Please get more on the git branches please :-)

  • @jim7smith
    @jim7smith Před rokem

    By all means, please do some more advanced videos on git. Thanks so much for this one!

  • @JerryGoNuts
    @JerryGoNuts Před 2 lety +1

    "Probably sponsored by..."? Never heard that before. I hope they are sponsoring you. Learned a lot from this channel, and congrats on your new CZcams venture. Looking forward to your new book when it is published.

    • @maheshthaalla3991
      @maheshthaalla3991 Před 2 lety

      "Today's video is 'proudly' sponsored by", it's high time you change your headphones bro 😀

    • @JerryGoNuts
      @JerryGoNuts Před 2 lety +1

      @@maheshthaalla3991 Oh damn -- more like clean out my ears. I always hear "probably" (three different headphones).

  • @dannythedabbler
    @dannythedabbler Před 2 lety

    I've watched half a dozen git tutorials and it still doesn't make sense to me, but I've learned something from all your previous videos so I have high hopes.

  • @Richard-sp3ul
    @Richard-sp3ul Před 2 lety

    Love your vids. Can you do a getting started tour of Linode?

  • @corsairfilip
    @corsairfilip Před 9 měsíci

    Thank you for this video. Very usefull

  • @aleksandregorov481
    @aleksandregorov481 Před 2 lety +1

    Thank you! Very interesting.

  • @mortenlund1418
    @mortenlund1418 Před 2 lety

    I think it is awsome content - thanks very much.

  • @Lyunpaw
    @Lyunpaw Před 2 lety +1

    I want MORE git PLEASE!

    • @Lyunpaw
      @Lyunpaw Před 2 lety +1

      alias PLEASE='sudo'

  • @RahulSingh-1
    @RahulSingh-1 Před 2 lety

    Thanks

  • @Bruces-Eclectic-World
    @Bruces-Eclectic-World Před 2 lety +1

    Thanks Jay!
    I too have watched several videos on this subject and your's made more sense as you showed some gems that the others have not.
    Yes please more videos on Git.
    I have always started a repo in the web browser with drag and drop and it takes forever to setup one... That is a cool trick to setup one local first, nice...
    Thanks Mr. Wizard for being such a good teacher... :-)
    LLAP

  • @ephraimgadsbyjr.9441
    @ephraimgadsbyjr.9441 Před 2 lety +2

    How about your next GIT video?

  • @rashie
    @rashie Před 2 lety

    Thanks Jay. I’d love to know how you obfuscated your username on the terminal. I’ve been looking for something like that for a while.

  • @mukto2004
    @mukto2004 Před 2 lety +1

    make a followup video

  • @BigBlueMotors
    @BigBlueMotors Před 2 lety +1

    I git it now 😜

  • @bluekeybo
    @bluekeybo Před 2 lety +1

    Are you and Engineer Man working together? Haha he also just made a Git Essentials video just yesterday

  • @flaviogcmelo
    @flaviogcmelo Před rokem

    Hi Jay, great video, I'm a database admin and I use a lot of different ways to record my scripts. I'm currently using MS Onedrive and OneNote, but the lack of version control is something that has always bothered me. Your video was a great start to getting me recording my scripts using git. In my case, the company I work for has its own git repository. I would like to push my files to this repository and copy to my personal repository on git hub. Can you give some advice on how to do this? Thanks in advance.

  • @monolofiminimal
    @monolofiminimal Před 2 lety

    My ocd is killing me. The galaxy is aligned but the frames are not xd
    Thank you for this git tutorial, good timing!

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

    Is there any way to find my token again? I went to the repo on github and back to the token to see it, but it's invisible.

  • @143jeg
    @143jeg Před 2 lety +1

    How did you know what I'm working on today?!

  • @Jerkwad152
    @Jerkwad152 Před 2 lety +2

    I gotta git gud

  • @guccifer7874
    @guccifer7874 Před 2 lety

    Great course, but I don't like how many of the git tutorials/guides lack the intuitive insight of the data/object model of Git, which is, IMO, the most crucial part in understanding Git. The more one knows about what's happening in the background, the better you're able to understand and work with Git and not just memorize the commands.

  • @Eggsec
    @Eggsec Před 2 lety

    Second tutorial?

  • @sumitxshah
    @sumitxshah Před 2 lety

    Hi jay, followup please.

  • @milosgajic23
    @milosgajic23 Před 2 lety

    This is impossible. Why people put dislike on video. Jay spend time to record then edit a video and finally put it live. And someone succeed to put dislike. You can't dislike content like this, it is educational and someone who wants to learn it helps. Just don't watch if you think it's not worth it your time.

  • @BrucesWorldofStuff
    @BrucesWorldofStuff Před 2 lety

    YT deletes my comments

  • @piotrpytkowski1542
    @piotrpytkowski1542 Před 2 lety

    What if : alex@alex:~/myrepo$ git revert 7b0596f
    error: Reverting is not possible because you have unmerged files.
    hint: Fix them up in the work tree, and then use 'git add/rm '
    hint: as appropriate to mark resolution and make a commit.
    fatal: revert failed