Git Tutorial for Beginners: Learn Git in 1 Hour

preview_player
Показать описание
Git: The essential tool for modern development. 🔧 This quick explainer shows why it's a must-have skill.

🔥 Ready for a deep dive?

📕 Get my FREE Git cheat sheet:

✋ Stay connected:

💡 Why Git?
- Track code changes over time.
- Collaborate with other developers easily.
- Revert to older versions if something breaks.
- Essential for software & DevOps engineers.

📖 TABLE OF CONTENTS
0:00:00 Introduction
0:00:35 What is Git?
0:03:07 Using Git
0:06:11 Installing Git
0:07:38 Configuring Git
0:12:43 Getting Help
0:13:35 Cheat Sheet
0:14:05 Taking Snapshots
0:14:38 Initializing a Repository
0:17:10 Git Workflow
0:21:46 Staging Files
0:25:24 Committing Changes
0:27:37 Committing Best Practices
0:30:21 Skipping the Staging Area
0:31:46 Removing Files
0:33:48 Renaming or Moving Files
0:36:06 Ignoring Files
0:42:41 Short Status
0:45:33 Viewing the Staged and Unstaged Changes
0:50:33 Visual Diff Tools
0:55:27 Viewing the History
0:57:39 Viewing a Commit
1:01:37 Unstaging Files
1:04:28 Discarding Local Changes
1:06:17 Restoring a File to an Earlier Version

#git #devops #coding #softwaredevelopment
Рекомендации по теме
Комментарии
Автор

Just wanted to shout out how great this courses are. I was depressed and wasn't happy with my previous career, I wanted to change things and find something to be exited about and make a career with it. I don't count myself smart and my previous job was a seafaring one, so I had no idea. The this summer I found your Python tutorial, bought couple more full courses and now making slow progress, even found a starting tech support job. It's not much, but I feel really great and want to aspire to become a developer. Thank you so much, it's fantastic how you help people! Best wishes :)

tuftymink
Автор

This one hr of course is much easy to understand, best animation helped to make things visualise better and ofcourse the pace of the course is appreciated. Looking forward to get the full course of 5hrs

shubhambangad
Автор

Mosh has taught me a lot of things, you deserve credits! Good luck Mosh, keep growing!

francksgenlecroyant
Автор

Mosh I just love your tutorials, they are easy to understand and very beautifully designed. Thank you for this course.

fatemalokhandwala
Автор

Hey mosh hope you are doing great, i want to thank you for making such courses. Thanks a lot.

noormohammedshikalgar
Автор

Mosh your voice is so soft and soothing. You are like the everyone favourite drawing teacher meets and intelligent harvard professor.

subijoyacharya
Автор

Dear Mosh, I'm a beginner programmer, and this video was extremely helpful. Thanks for putting in the hard work to produce this video!

johnwise
Автор

52:17 You evaluated the bash variables LOCAL and REMOTE, which did not exist or were empty, leaving you with the string with two spaces after --diff. I like to mostly use single quotes when I don't need bash to evaluate anything in the string, but you could have escaped the dollar signs with backspaces as well if you want to stick to double quotes.

lollllloro
Автор

For mac user:
to add vs code to your path:
- open vs code
- shift + command + p
- search for (shell command: install 'code' command in PATH )

Then you just configure it to git according to our teacher, Mosh

earthfirewaterair
Автор

Great Video Mosh! Just prepurchased the full Git Course. Appreciate you offering fantastic courses at such reasonable prices. You the best ❤

scottwilson
Автор

Im around three quarters of the way through the git ultimate course and I have to say its good. Pacey but thorough. The time spent explaining different merge types is fantastic.
The most useful part, for me was creating new branches on remote/origin correctly, something I constantly struggled with. I already have Senior Engineers at work asking me about "git log --oneline --all --graph".
Amazing as always Mosh, if you keep releasing content like this we might just make it!

daniellister
Автор

It will really help beginners to get started with Git. Thank you very much Mosh. I have shared it on LinkedIn and tagged you. Keep on creating such amazing content for the programmers. Take care and stay blessed.

md.shafiuzzamanrajib
Автор

World class Course. This guy is really good at teaching coding stuff. Look at the English he speaks. so amazing. He speaks good english in all his courses

jacktembo
Автор

Great video Mosh. I've been using git for years, and I've learned a couple of new things from this video. Thanks for such great content.

evert-arias
Автор

Thank you Mosh for this easy-to-comprehend tutorial! It was very helpful.

angelinagokhale
Автор

Very grateful to you for making such simple and amazing tutorials <3

Imtiaz
Автор

This is an awesome tutorial on Git. I also bought the full course. Mosh has an amazing way of simplifying complex topics. I'm thoroughly enjoying this!

ravilobo
Автор

thank you mosh for completing the git part, please complete the design patterns part 3 as well, that is the only course left over in your series

nihar
Автор

Hi Mosh, You are the best teacher ever. All your courses are clear, straight to the point. We are just waiting for Django course.

jacktembo
Автор

Hit one like for all the hard works of Mosh just for us ♥️

bimal.subedi