Это видео недоступно.
Сожалеем об этом.

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

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

  • @stepkurniawan
    @stepkurniawan Год назад +3

    bro just had the best tutorial about git graph in the whole youtube

    • @d-i-ry
      @d-i-ry  11 месяцев назад

      Thank you so much!!!

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

    This is perfect. Everything I need to get started, even the SSH configuration! Thank you so much!!

    • @d-i-ry
      @d-i-ry  2 года назад

      You're welcome! I'm really glad it helped!

  • @leibaleibovich5806
    @leibaleibovich5806 4 месяца назад

    Thank you very much for this tutorial -- your excellent explanation helped me to make first steps in using git yesterday! Thank you!

    • @d-i-ry
      @d-i-ry  4 месяца назад

      I’m glad it helped you! Thanks for letting me know :)

  • @danielwang-mi4sz
    @danielwang-mi4sz 2 месяца назад +1

    Perfect! and a beginner friendly tutorial!

    • @d-i-ry
      @d-i-ry  2 месяца назад

      Thanks!

  • @SwapperTheFirst
    @SwapperTheFirst 5 месяцев назад

    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.

    • @d-i-ry
      @d-i-ry  4 месяца назад +1

      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 :)

  • @NamNguyen-oz8uj
    @NamNguyen-oz8uj 11 месяцев назад

    This is one of the very best tutorial about git branches I ever watched, thank you Sir

    • @d-i-ry
      @d-i-ry  11 месяцев назад

      Wow, thank you!

  • @davidkoo2192
    @davidkoo2192 10 месяцев назад +1

    This is the best tutorial about Git Graph. Just perfect!!

    • @d-i-ry
      @d-i-ry  10 месяцев назад

      Thanks! I think it’s time for an update to it, too

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

    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 !

    • @d-i-ry
      @d-i-ry  2 года назад

      Hi Raghunath, I’m really really glad it helped you!!

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

    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. 👍🏻

    • @d-i-ry
      @d-i-ry  Год назад +1

      I think I’ve read this a dozen times. Your comment really made my day, thank you

  • @omniral908
    @omniral908 Год назад +2

    Thank you so much for this video, it's helped me so much!

    • @d-i-ry
      @d-i-ry  Год назад

      You’re welcome!!!

  • @aliimran7051
    @aliimran7051 5 месяцев назад +1

    It was worth it to watch.

    • @d-i-ry
      @d-i-ry  5 месяцев назад

      Thanks!

  • @guoth5116
    @guoth5116 2 месяца назад +1

    Great video ! I learned a lot from it. Thanks!

    • @d-i-ry
      @d-i-ry  2 месяца назад

      Welcome!

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

    Very Nice explanation and i understand now how to configure git repository.

    • @d-i-ry
      @d-i-ry  Год назад

      Glad it helped :)

  • @rtdietrich
    @rtdietrich Год назад +1

    A+++ Tutorial ==>> Great! Helps me lot

    • @d-i-ry
      @d-i-ry  Год назад

      That’s really nice, thank you!

  • @mytube2013
    @mytube2013 8 месяцев назад +1

    Thank you, Sir.

    • @d-i-ry
      @d-i-ry  8 месяцев назад

      You’re welcome!

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

    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.

    • @d-i-ry
      @d-i-ry  2 года назад

      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!! 😄

  • @EchoVids2u
    @EchoVids2u Год назад +1

    Wow, Amazing tutorial. This helps a lot!

    • @d-i-ry
      @d-i-ry  Год назад +1

      Thanks, that means a lot to hear!

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

    Thank you very much sir. Very clear tutorial.

    • @d-i-ry
      @d-i-ry  2 года назад

      Thanks Mate, Glad it helped!

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

    Thanks very helpful, the enterprise i'm working uses git graph

    • @d-i-ry
      @d-i-ry  Год назад

      Nice, glad it helped!

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

    Good quality video. Should be more views.

    • @d-i-ry
      @d-i-ry  2 года назад

      I appreciate that! I'm trying, but I don't know how to master the RUclips algorithm yet

  • @conallogribin
    @conallogribin 3 года назад +1

    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.

    • @d-i-ry
      @d-i-ry  3 года назад

      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!

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

    this is the explanation I need, thank you very much!!!

    • @d-i-ry
      @d-i-ry  2 года назад

      Glad it was helpful!

  • @badr-ur4lt
    @badr-ur4lt 2 месяца назад

    Great video thanks 😃, super useful.

    • @d-i-ry
      @d-i-ry  2 месяца назад

      You’re welcome!

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

    Great tutorial. Thanks for sharing.

    • @d-i-ry
      @d-i-ry  2 года назад +1

      Glad it was helpful!

  • @ajayjoseph8722
    @ajayjoseph8722 Год назад +1

    Many thanks

    • @d-i-ry
      @d-i-ry  Год назад

      Glad it helped!

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

    Thank you for this great video

    • @d-i-ry
      @d-i-ry  2 года назад

      My pleasure! Thanks, Muhammed!

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

    I needed this so bad. Thank you!

    • @d-i-ry
      @d-i-ry  2 года назад

      I'm glad it was helpful!

  • @MD-zn1jz
    @MD-zn1jz 3 года назад +1

    nice nice nice, and we need more angular nx firebase fullstack, keep it comming ;)

    • @d-i-ry
      @d-i-ry  3 года назад

      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

    • @MD-zn1jz
      @MD-zn1jz 3 года назад +1

      @@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! ;)

    • @d-i-ry
      @d-i-ry  3 года назад

      @@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!

    • @MD-zn1jz
      @MD-zn1jz 3 года назад +1

      @@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

    • @d-i-ry
      @d-i-ry  3 года назад

      @@MD-zn1jz Thanks for the great starting point!

  • @antonioubedamontero2927
    @antonioubedamontero2927 3 года назад +1

    Nice tutorial. How can we manage versions and stash and conflicts? Thank you in advance.

    • @d-i-ry
      @d-i-ry  3 года назад

      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

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

    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.

    • @d-i-ry
      @d-i-ry  2 года назад +1

      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 :)

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

    Hey D-I-Ry, thanks for the video. Can you please talk about squash, and rebase, using this tool?

    • @d-i-ry
      @d-i-ry  2 года назад

      Hey Daniel, definitely! I'll make a series of shorter videos to go over these topics. Thanks!

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

    tnx from israel!!!!!

    • @d-i-ry
      @d-i-ry  3 года назад

      You’re welcome! I hope the walk-through helps you!

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

    Hero

    • @d-i-ry
      @d-i-ry  2 года назад

      Lol thanks!

  • @Giuliotrane
    @Giuliotrane 4 месяца назад

    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?

    • @d-i-ry
      @d-i-ry  4 месяца назад +1

      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

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

    Will those feature branches be in the remote

    • @d-i-ry
      @d-i-ry  Год назад +1

      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

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

      @@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?

    • @d-i-ry
      @d-i-ry  Год назад +1

      @@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 :)

    • @d-i-ry
      @d-i-ry  Год назад +1

      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!)

  • @toby9999
    @toby9999 Год назад +1

    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.

    • @d-i-ry
      @d-i-ry  Год назад

      I missed SVN. TortoiseSVN was my favorite! But git gets easier when you work with it