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 - Наука
Perfect timing on this video! Thx.
You're so welcome!
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.
Agreed! More git.
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.
This was a genuinely fantastic beginner introduction to GIT and I learnt a lot.
Excellent tutorial! Looking forward to the second part !
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.
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.
This was an excellent introduction - thanks! I'd love to see a follow-up
Just finished your book. Second read through commencing. Implementation pending. Enormous fun!
Thank you for this upload. Learned something new re: Git basics. Hope that there is a follow up with advanced tips, etc.
1st time I see a full video on GIT, very basic & thorough though. Gracias from TX!
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.👏👏
Concise and informative Jay, please provide more Git vids!
Thanks for your precious content Jay, keep it up!!!🙏
Thanks Jay. Great preamble to your Ansible series.
Thank you for the content, very insightful as always!
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.
First year CS student 👨🎓. This is gold to me!
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.
I need to learn Git and your videos are very clear and understandable for a noob like me, please continue !
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
This is really helpful as are all of your videos.
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-
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 🙏
Thanks Jay. You are awesome!
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!
Yes, please do a follow up. Great content, thanks (from the Netherlands)
Git became essential now
Thanks Jay
It sure is. Thanks for watching :)
Def waiting for the next one
This video is amazing keep the good work man
Great content as always.
Thank you for this video. Very usefull
More Git pls. And thank you for this video.
Thanks Jay.
Thumbs up on more git videos...using ssh would be cool. Appreciate all you do!!
Thanks for the video,
can you please do a followup video for git branches.
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.
Could you elaborate on how you accomplish the nuts and bolts of what you are doing with your scripts?
Thanks in advance.
Love your vids. Can you do a getting started tour of Linode?
I think it is awsome content - thanks very much.
Great stuff!
By all means, please do some more advanced videos on git. Thanks so much for this one!
Thank you! Very interesting.
You are welcome!
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.
Yes please, more git... Keen on a series :)
An advanced Git lesson would be welcomed
Please get more on the git branches please :-)
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
Thanks
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.
"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.
"Today's video is 'proudly' sponsored by", it's high time you change your headphones bro 😀
@@maheshthaalla3991 Oh damn -- more like clean out my ears. I always hear "probably" (three different headphones).
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.
I want MORE git PLEASE!
alias PLEASE='sudo'
I git it now 😜
How about your next GIT video?
make a followup video
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.
Are you and Engineer Man working together? Haha he also just made a Git Essentials video just yesterday
My ocd is killing me. The galaxy is aligned but the frames are not xd
Thank you for this git tutorial, good timing!
How did you know what I'm working on today?!
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.
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.
I gotta git gud
Second tutorial?
Hi jay, followup please.
YT deletes my comments
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