Это видео недоступно.
Сожалеем об этом.
Git Graph: the easiest way to start using git
HTML-код
- Опубликовано: 15 авг 2024
- We're covering all the topics in git that you'll need to be comfortable using it, from software installs to the terminology of git, to what branches really are and why they're so helpful.
This will show you a simple way to use git without needing to memorize command line arguments. It's the way I use it in my personal and professional life. This tutorial's meant to make git understandable and user-friendly - the way it should be, and the way it's never seemed to be.
Software Downloads:
Visual Studio Code - code.visualstu...
git - git-scm.com/do...
Video timestamps:
0:00 - intro
0:34 - software installs
3:24 - secure github / gitlab
6:08 - git terms
8:00 - using git without commands
Code examples:
index.html - gitlab.com/rya...
sketch (empty canvas) - gitlab.com/rya...
sketch (static pendulum) - gitlab.com/rya...
sketch (swinging pendulum) - gitlab.com/rya...
sketch (multiple pendulums) - gitlab.com/rya...
bro just had the best tutorial about git graph in the whole youtube
Thank you so much!!!
This is perfect. Everything I need to get started, even the SSH configuration! Thank you so much!!
You're welcome! I'm really glad it helped!
Thank you very much for this tutorial -- your excellent explanation helped me to make first steps in using git yesterday! Thank you!
I’m glad it helped you! Thanks for letting me know :)
Perfect! and a beginner friendly tutorial!
Thanks!
What a shame Ryan that you have stopped the video creation.
I like not only the tech knowledge but your shining personality. I even watched the completely unrelated to me some video how to fix some old car :)
I don't know why, but I always smile and feel good that such people live somewhere on our planet and RUclips allows them to share some parts of their livies with us.
hi, thanks for writing this last week. you don't know how much i appreciated you doing that. it was really kind, and your message got me to spend the last 6 nights making a project I've wanted to do since last April. I even made a new video about it.
thanks for your kind words. they really helped :)
This is one of the very best tutorial about git branches I ever watched, thank you Sir
Wow, thank you!
This is the best tutorial about Git Graph. Just perfect!!
Thanks! I think it’s time for an update to it, too
Hello D-I-Ry, I was getting my hands dirty with git and it became a bit overwhelming....and then I came across this video. This workflow makes it so much easy to work with git. Thank you for this !
Hi Raghunath, I’m really really glad it helped you!!
Great video, best I've seen so far for explaining the use of GitGraph with VS Code. You're very good at presenting, very detailed and professional but still very engaging to watch. This helped me a lot, many thanks. 👍🏻
I think I’ve read this a dozen times. Your comment really made my day, thank you
Thank you so much for this video, it's helped me so much!
You’re welcome!!!
It was worth it to watch.
Thanks!
Great video ! I learned a lot from it. Thanks!
Welcome!
Very Nice explanation and i understand now how to configure git repository.
Glad it helped :)
A+++ Tutorial ==>> Great! Helps me lot
That’s really nice, thank you!
Thank you, Sir.
You’re welcome!
In this example I prefer to uncheck the setting **Create a new commit even if fast-forward is possible**.
Do a fast-forward merge, which will just move the main pointer up to where the build-pendulum pointer is.
This linearizes the git history, which is sometimes useful for clean logs. We would no longer be having so many divergences. Although I guess that you probably did this on purpose to show how the Git Graph can visualize even very complicated divergences, something which would not be possible using git log command only.
Hey Konstantin, I like your selection much better too. For larger projects, it would take about 1/3rd of my git logs away (!!) but I usually show other people my git logs, so I keep them verbose. I really should uncheck that option too!! 😄
Wow, Amazing tutorial. This helps a lot!
Thanks, that means a lot to hear!
Thank you very much sir. Very clear tutorial.
Thanks Mate, Glad it helped!
Thanks very helpful, the enterprise i'm working uses git graph
Nice, glad it helped!
Good quality video. Should be more views.
I appreciate that! I'm trying, but I don't know how to master the RUclips algorithm yet
Thanks D-I-Ry, this has helped me get to grips with git nice and quickly, and gives me context for actions I take at the command line. Big thumbs up!
If you want to live dangerously, taking about rebase might be a good subject to touch on. Best documentation on git ive found has been by atlassian, but anything else you recommend would be great.
Nice @Conall! I'm really glad this helped. I'm planning on making short videos (60 seconds max) on git issues, and I'll add rebase to it :)
I'm really glad this helped!
this is the explanation I need, thank you very much!!!
Glad it was helpful!
Great video thanks 😃, super useful.
You’re welcome!
Great tutorial. Thanks for sharing.
Glad it was helpful!
Many thanks
Glad it helped!
Thank you for this great video
My pleasure! Thanks, Muhammed!
I needed this so bad. Thank you!
I'm glad it was helpful!
nice nice nice, and we need more angular nx firebase fullstack, keep it comming ;)
Thanks! Your comment made my night. I’ll keep the videos coming, and let me know if there’s a specific topic you want to see
@@d-i-ry ok; so i'm not sure if i wanted to make you stay all night ;D ..however; i've seen pubsub video. How about nestjs, graphql microservices connected thru pubsub on cloud run; .. ha! ;)
@@MD-zn1jz hey Mariusz! Haha! I’ve got to connect some services to pubsub in a project, so I’ll add your suggestions to my video list, thanks!
@@d-i-ry perhaps this could be some starting point: dev.to/thisdotmedia/graphql-subscriptions-with-nest-how-to-publish-across-multiple-running-servers-15e ; thanks in advance
@@MD-zn1jz Thanks for the great starting point!
Nice tutorial. How can we manage versions and stash and conflicts? Thank you in advance.
Thanks Antonio! On the left, vertical bar in VS Code, when you click on the git icon, you'll see an ellipsis icon "..." next to the Git Graph icon. Click that, and you'll see all the extra git commands like stash
Great D-I-Ry.
A question.
Let's say that you've merged a branch into the main branch, and not having commited this merge, and of course, not having push the changes to GitHub/GitLab, you realize the changes are wrong, and you want to undo this merge. How can you do this?
Ta.
Hey Jose, this is surprisingly easy to fix, but it’s kinda hidden. Click the “…” next to the small Git Graph icon, then in the drop down menu, choose “commit” and in that submenu, choose “undo last commit”
Hidden but easy when you know where to look :)
Hey D-I-Ry, thanks for the video. Can you please talk about squash, and rebase, using this tool?
Hey Daniel, definitely! I'll make a series of shorter videos to go over these topics. Thanks!
tnx from israel!!!!!
You’re welcome! I hope the walk-through helps you!
Hero
Lol thanks!
What if I notice I made an error, for example, not in the last commit but 4 commit before? How can I undo 4 commit?
I’ve been there! What I would do is check in the current code so I don’t lose it (right or wrong, don’t lose it!). Then it’s your choice if you want to undo the commit 4 times (I would). Then I’d make the fix, but I wouldn’t try to re-commit the next 3 things.
I’d jump between branches. And by that, I mean I’d make the fix you want, then I’d go back to the newest code, just copy the good parts of code that you like, and I’d come back to that code from 4 commits ago that you fixed, and I’d paste the good code right on top of it. Save and commit, and forget that you did the extra work from the 3 extra commits
Will those feature branches be in the remote
Hi Omar, when you click the “publish branch” button or select “push” in the drop-down button, that will make it be in the remote
@@d-i-ry what if I merge my local feature branch to my local master branch, then I push my master branch, will that push also push my feature branch?
@@Canadianishere try it out, and if it doesnt do as you're hoping, go to the git dropdown menu and choose Commit > Undo Last Commit :)
by the way, I believe you'd need to explicitly push your local feature branch. your remote copy will see all of your feature branch's commits, but since it was pushed as master, the commits would be listed within the master branch's timeline. (i think!)
VSCode seems to be very versatile but its GUI is crap. It's horribly unintuative.
This is a very nice tutorial but Git is not nice. It sucks. The constant branching in Git does my brain in. SVN was so much simpler. I don't understand the need for those extra branches?
I've been a professional C++ software developer for 25 years but nowadays I'm slipping behind. I just don't understand all of this new stuff.
I missed SVN. TortoiseSVN was my favorite! But git gets easier when you work with it