Git Tutorial for Beginners: Mastering Git Essentials (the 80/20 of Git) - A Git Course

  Рет қаралды 11,081

Donn Felker

Donn Felker

Күн бұрын

Пікірлер: 54
@naserghodsian5545
@naserghodsian5545 3 жыл бұрын
This is not the most comprehensive git course, but it is definitely the BEST!
@donnfelkeryt
@donnfelkeryt 3 жыл бұрын
Thanks! That’s the intention. To give you the tools you need, not the whole kitchen sink. 😉
@arpie2671
@arpie2671 2 жыл бұрын
Thank you for this tutorial, came here after listening to the podcast. Learned a lot !
@donnfelkeryt
@donnfelkeryt 2 жыл бұрын
Glad you found it useful!
@tonnie7079
@tonnie7079 4 ай бұрын
Hi Donn, just noted that the alias cam = commit -am is sometimes not adding files to be committed and you may need to run: git add . before the cam alias. If you don't run git add . you get this message on git bash: nothing added to commit but untracked files present (use "git add" to track) So I asked ChatGPT which gave me this alias command which is now working fine: cam = !git add . && git commit -am This is the explanation - ensures that all changes are staged before committing them. Now, when you run git cam "your commit message", it will first add all changes and then commit them.
@donnfelkeryt
@donnfelkeryt 4 ай бұрын
Correct. It will bit add new files. Thanks for the update here and detailed alias to improve it for others. :)
@justp303
@justp303 5 ай бұрын
Great tutorial. Super easy to follow along and very concise.
@amazingtamilmystery1196
@amazingtamilmystery1196 3 жыл бұрын
Hey donn .your kotlin course is awesome .
@donnfelkeryt
@donnfelkeryt 3 жыл бұрын
Glad you enjoyed it!
@ecmc85
@ecmc85 3 жыл бұрын
Thanks for sharing this course, Donn. I like commands/shortcuts and I'm learning a lot of them in this course.
@donnfelkeryt
@donnfelkeryt 3 жыл бұрын
I’m glad you’re enjoying it
@amazingtamilmystery1196
@amazingtamilmystery1196 3 жыл бұрын
Best teacher
@donnfelkeryt
@donnfelkeryt 3 жыл бұрын
Thank you so much
@joshmay9531
@joshmay9531 2 жыл бұрын
Thanks Donn! I feel like I'm in the Matrix and I just downloaded "Mastering Git" into my brain 🥷🙏💪
@donnfelkeryt
@donnfelkeryt 2 жыл бұрын
Lol. Awesome 🤜 💥 🤛
@undefine117
@undefine117 3 жыл бұрын
Another way to adding changes to the git is `git add -p` which makes interactive adding all changes by inspecting them and decide if want them. To clean untracked directories we can add `-d` switch to the command `git clean` ;-)
@donnfelkeryt
@donnfelkeryt 3 жыл бұрын
The patch switch (-p or - -patch) is great for that!
@vediam
@vediam 3 жыл бұрын
Good lesson and good microphone/sound quality :) Thank you !
@donnfelkeryt
@donnfelkeryt 3 жыл бұрын
Glad you enjoyed! Thanks for watching!
@edipsaln
@edipsaln 2 жыл бұрын
Very valuable course. It is a great reference for git. Thank you!
@imharshvardhan
@imharshvardhan 3 жыл бұрын
Thank you for the video and your configs files, always an inspiration.
@donnfelkeryt
@donnfelkeryt 3 жыл бұрын
Glad you enjoyed them and the course!
@blackcitadel37
@blackcitadel37 3 жыл бұрын
Awesome 10/10. Do you plan making more courses, like HTML, CSS, JS, etc? Thx
@donnfelkeryt
@donnfelkeryt 3 жыл бұрын
Eventually, yes
@mainkt9212
@mainkt9212 2 жыл бұрын
I liked your fish shell theme :)
@donnfelkeryt
@donnfelkeryt 2 жыл бұрын
Here's my fish config if you're interested: gist.github.com/donnfelker/5f4f76fec809c7be9347b7c17f0d3b43
@SunitRoy
@SunitRoy 3 жыл бұрын
Donn you are a inspiration ❤️
@donnfelkeryt
@donnfelkeryt 3 жыл бұрын
Thank you
@tonnie7079
@tonnie7079 2 жыл бұрын
I learnt Git Aliases, - am staging flag, generating .gitignorefile, git merge 3way conflict resolution and merge tools. Thanks
@donnfelkeryt
@donnfelkeryt 2 жыл бұрын
Glad you liked it!
@EngMuhammadAmmar
@EngMuhammadAmmar 3 жыл бұрын
Sir Keep It Up , You Are Teaching Very Well ... ♥️
@donnfelkeryt
@donnfelkeryt 3 жыл бұрын
Thanks a ton
@henrykissenger4943
@henrykissenger4943 2 жыл бұрын
What a valuable tutorial, thanks Donn!
@donnfelkeryt
@donnfelkeryt 2 жыл бұрын
Thanks!
@T9user
@T9user 3 жыл бұрын
Thanks for this!
@donnfelkeryt
@donnfelkeryt 3 жыл бұрын
You bet
@T9user
@T9user 3 жыл бұрын
This course helped me out a ton for an interview for which I got my first job in software development! Will be working on React Native. Do you have any courses for that?
@donnfelkeryt
@donnfelkeryt 3 жыл бұрын
@@T9user I’m glad to hear that this helped you land a job! That’s awesome. I don’t have one on react native at this time, maybe in the future.
@akshayashok8808
@akshayashok8808 3 жыл бұрын
Hey Donn, Which theme are you using for your Fish-Shell? is it bobTheFish?
@donnfelkeryt
@donnfelkeryt 2 жыл бұрын
Here's my fish config if you're interested: gist.github.com/donnfelker/5f4f76fec809c7be9347b7c17f0d3b43
@MDDanishAnsariDev
@MDDanishAnsariDev 3 жыл бұрын
Thanks Donn sir for this
@donnfelkeryt
@donnfelkeryt 3 жыл бұрын
You bet. Glad you like it.
@naserghodsian5545
@naserghodsian5545 3 жыл бұрын
Dear Donn, when I create a new branch in an Android project and make some changes, all those changes will appear on the master branch as well. It doesn’t happen for Kotlin or C++ projects on my laptop. Is there any specific consideration that I’m missing when it comes to Android?
@donnfelkeryt
@donnfelkeryt 3 жыл бұрын
Git is file system based. It doesn’t care about what it’s working with. What’s likely happening is that there are some ignored files/folders in the cache. Those are ignored in the .gitignore file. When you switch back to master from your other branch that cache is still there. You’ll likely need to clear/clean your cache when you switch branches. I used to have this problem in Android a lot and it was frustrating because Gradle would pick up stuff that was not there. I’d sometimes have to clean with gradle and invalidate the caches in Android Studio too. It was a pain, but that’s what fixed it.
@kasemsm8092
@kasemsm8092 3 жыл бұрын
Nice
@donnfelkeryt
@donnfelkeryt 3 жыл бұрын
Thanks
@kasemsm8092
@kasemsm8092 3 жыл бұрын
Thanks to you, whole 2 hours is worth. 🔥
@donnfelkeryt
@donnfelkeryt 3 жыл бұрын
@@kasemsm8092 awesome to hear! 💪🏻
@shobhitchoudhury5333
@shobhitchoudhury5333 3 жыл бұрын
hey, so I have vscode and whenever I try to open up a folder in my desktop with vscode it says that "git has over 5000 active change", is there any way to get rid of this?
@donnfelkeryt
@donnfelkeryt 3 жыл бұрын
There could be a number of reasons why you’re getting this error. Do some googling with the error message and you’ll find a couple of stack overflow posts as well as a couple of posts on Microsoft’s site. Those should point you in the right direction.
@kamalCode
@kamalCode 3 жыл бұрын
Flutter course
@donnfelkeryt
@donnfelkeryt 3 жыл бұрын
This is a Git course, if you're looking for a Flutter course, check out Rohan's course here: kzbin.info/www/bejne/g4nLZGeFaq9rftk
Git and GitHub Crash Course For Beginners | Complete Tutorial [2024]
1:53:19
Git for GitLab (Beginner's FULL COURSE)
1:33:28
Valentin Despa
Рет қаралды 205 М.
Amazing remote control#devil  #lilith #funny #shorts
00:30
Devil Lilith
Рет қаралды 16 МЛН
这是自救的好办法 #路飞#海贼王
00:43
路飞与唐舞桐
Рет қаралды 137 МЛН
風船をキャッチしろ!🎈 Balloon catch Challenges
00:57
はじめしゃちょー(hajime)
Рет қаралды 83 МЛН
Should You Be a Full Stack Developer?
14:21
Donn Felker
Рет қаралды 2,4 М.
How to be a git expert
46:26
Floating Little Leaves of Code
Рет қаралды 171 М.
Git For Beginners 2023
2:00:37
Telusko
Рет қаралды 265 М.
So You Think You Know Git - FOSDEM 2024
47:00
GitButler
Рет қаралды 1,2 МЛН
Git and GitHub Tutorial For Beginners | Full Course [2021] [NEW]
2:21:43
Git Tutorial for Beginners: Learn Git in 1 Hour
1:09:13
Programming with Mosh
Рет қаралды 2,5 МЛН
How to Undo Mistakes With Git Using the Command Line
55:21
freeCodeCamp.org
Рет қаралды 85 М.
Intermediate GitHub Tutorial
41:44
Tech With Tim
Рет қаралды 34 М.
Amazing remote control#devil  #lilith #funny #shorts
00:30
Devil Lilith
Рет қаралды 16 МЛН