Git Essentials

Поделиться
HTML-код
  • Опубликовано: 19 июн 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 Courses from Learn Linux TV
    • Linux Essentials Certification Workshop ➜ learnlinux.link/lpi-course
    • Linux Crash Course series ➜ linux.video/cc
    • Learn how to use tmux ➜ linux.video/tmux
    • Learn how to use vim ➜ linux.video/vim
    • Bash Scripting Series ➜ linux.video/bash
    • Proxmox VE Cluster Full Course ➜ linux.video/pve
    • Learn Ansible ➜ linux.video/ansible
    Linux-related Podcasts
    • Enterprise Linux Security ➜ enterpriselinuxsecurity.show
    • The Homelab Show ➜ thehomelab.show
    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
  • НаукаНаука

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

  • @lef1970
    @lef1970 2 года назад +11

    Perfect timing on this video! Thx.

  • @bobwong8268
    @bobwong8268 2 года назад +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 2 года назад +4

      Agreed! More git.

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

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

  • @lenninlc
    @lenninlc 2 года назад +1

    Excellent tutorial! Looking forward to the second part !

  • @brandongraham3509
    @brandongraham3509 2 года назад +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.

  • @joshsmith4998
    @joshsmith4998 2 года назад

    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.

  • @franciscorosciani5834
    @franciscorosciani5834 2 года назад +3

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

  • @stello1972
    @stello1972 2 года назад

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

  • @JerryGoNuts
    @JerryGoNuts 2 года назад +3

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

  • @ElreyRayo
    @ElreyRayo 2 года назад +1

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

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

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

  • @wekiwa7055
    @wekiwa7055 2 года назад +1

    Concise and informative Jay, please provide more Git vids!

  • @danielcardona1413
    @danielcardona1413 2 года назад +1

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

  • @redneckrestoration9385
    @redneckrestoration9385 2 года назад

    Thanks Jay. Great preamble to your Ansible series.

  • @wesleyelder
    @wesleyelder 2 года назад +1

    Thank you for the content, very insightful as always!

  • @christopherjackson2157
    @christopherjackson2157 2 года назад

    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.

  • @premierjunkie
    @premierjunkie 2 года назад +2

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

    • @d00dEEE
      @d00dEEE 2 года назад +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 2 года назад +1

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

  • @gpfforte
    @gpfforte 2 года назад

    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

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

    This is really helpful as are all of your videos.

  • @janpedersen9120
    @janpedersen9120 2 года назад +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-

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

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

    Thanks Jay. You are awesome!

  • @mikelambert4490
    @mikelambert4490 2 года назад

    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!

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

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

  • @srsr6099
    @srsr6099 2 года назад +3

    Git became essential now
    Thanks Jay

    • @LearnLinuxTV
      @LearnLinuxTV  2 года назад +4

      It sure is. Thanks for watching :)

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

    Def waiting for the next one

  • @enoccarrera6497
    @enoccarrera6497 2 года назад +1

    This video is amazing keep the good work man

  • @kennethkipchumba2532
    @kennethkipchumba2532 2 года назад

    Great content as always.

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

    Thank you for this video. Very usefull

  • @ericr5481
    @ericr5481 2 года назад +2

    More Git pls. And thank you for this video.

  • @guilherme5094
    @guilherme5094 2 года назад

    Thanks Jay.

  • @MichaelWeston82
    @MichaelWeston82 2 года назад +1

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

  • @MrRefael33
    @MrRefael33 2 года назад +1

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

  • @rubberduckey5630
    @rubberduckey5630 2 года назад +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 2 года назад

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

  • @Richard-sp3ul
    @Richard-sp3ul 2 года назад

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

  • @mortenlund1418
    @mortenlund1418 2 года назад

    I think it is awsome content - thanks very much.

  • @AnonyMap1
    @AnonyMap1 2 года назад

    Great stuff!

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

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

  • @aleksandregorov481
    @aleksandregorov481 2 года назад +1

    Thank you! Very interesting.

  • @dannythedabbler
    @dannythedabbler 2 года назад

    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.

  • @seanvucich
    @seanvucich 2 года назад +2

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

  • @devinsmith2752
    @devinsmith2752 2 года назад +1

    An advanced Git lesson would be welcomed

  • @syamantakpati9009
    @syamantakpati9009 2 года назад +1

    Please get more on the git branches please :-)

  • @Bruces-Eclectic-World
    @Bruces-Eclectic-World 2 года назад +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

  • @RahulSingh-1
    @RahulSingh-1 2 года назад

    Thanks

  • @rashie
    @rashie 2 года назад

    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.

  • @JerryGoNuts
    @JerryGoNuts 2 года назад +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 RUclips venture. Looking forward to your new book when it is published.

    • @maheshthaalla3991
      @maheshthaalla3991 2 года назад

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

    • @JerryGoNuts
      @JerryGoNuts 2 года назад +1

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

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

    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.

  • @Lyunpaw
    @Lyunpaw 2 года назад +1

    I want MORE git PLEASE!

    • @Lyunpaw
      @Lyunpaw 2 года назад +1

      alias PLEASE='sudo'

  • @BigBlueMotors
    @BigBlueMotors 2 года назад +1

    I git it now 😜

  • @ephraimgadsbyjr.9441
    @ephraimgadsbyjr.9441 2 года назад +2

    How about your next GIT video?

  • @mukto2004
    @mukto2004 2 года назад +1

    make a followup video

  • @kihunkim9122
    @kihunkim9122 9 дней назад

    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.

  • @bluekeybo
    @bluekeybo 2 года назад +1

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

  • @monolofiminimal
    @monolofiminimal 2 года назад

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

  • @143jeg
    @143jeg 2 года назад +1

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

  • @guccifer7874
    @guccifer7874 2 года назад

    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.

  • @milosgajic23
    @milosgajic23 2 года назад

    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.

  • @Jerkwad152
    @Jerkwad152 2 года назад +3

    I gotta git gud

  • @Eggsec
    @Eggsec 2 года назад

    Second tutorial?

  • @sumitxshah
    @sumitxshah 2 года назад

    Hi jay, followup please.

  • @BrucesWorldofStuff
    @BrucesWorldofStuff 2 года назад

    YT deletes my comments

  • @piotrpytkowski1542
    @piotrpytkowski1542 2 года назад

    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