How to use Git - Git Video Tutorial - Part 2 (log, reflog, show, gitk, checkout, reset)

Поделиться
HTML-код
  • Опубликовано: 13 сен 2024
  • Part 2!
    Today we go over your repositories history using the following commands:
    git log
    git reflog
    git show
    gitk
    git checkout filename
    git reset
    Learn how to check your history and revert backwards!
    At the end of this video I wanted to mention once again that branching is a more efficient want to tackle any crazy "experiments" you'd like to do with your project. There are also other great reasons to branch your project, and I'm pretty excited to make this video hopefully very soon because I know it can be an intimidating subject. Have a great one everybody.
    Like colors? Try:
    git config color.ui true

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

  • @denbatteful
    @denbatteful 12 лет назад

    I have to thank you ... tried Git a few times but never got it 100%. Now I seem to be on the right track with your vids. Clear and easy to understand

  • @robertgloverjr
    @robertgloverjr 12 лет назад

    Fantastic git tutorial. You teach at the perfect speed and your videos are each the perfect length. Easy to view on my iPad. Thank you! you!

  • @surukantisreddy4247
    @surukantisreddy4247 11 лет назад

    Thanx to Jason, now i am understood easily about GIT..... and if you have TDD and BDD videos please upload it.

  • @bUlgArIsTA
    @bUlgArIsTA 12 лет назад

    Hi. thank for the videos. I can finally start wrapping my head around all that Git stuff.

  • @Kappaluppa2
    @Kappaluppa2 11 лет назад

    Thanks for the video. Using the term "saved state" for "commit" was a bit confusing. I've not heard it referred to that way any where else.

  • @Jibes
    @Jibes 11 лет назад

    It makes a lot more sense if you've ever played an old SNES game on an emulator or such.

  • @davidtan824
    @davidtan824 12 лет назад

    really good videos, the best one I've watched about git!!!

  • @oskArtist
    @oskArtist 13 лет назад

    Thank you again, Jason.

  •  12 лет назад

    That was just the process used for the same random hash, in a simple example, imagine a file with a unique hash, in order to copy it, you have to locate it, read the file and store the data from the file, then getting 3 lines with processes in the log on the same unique hash file.

  • @cue232s1
    @cue232s1 12 лет назад

    Swell!

  • @themekfrommars
    @themekfrommars 10 лет назад

    Excellent videos, thanks!

  • @thejacenxpress
    @thejacenxpress  12 лет назад

    Try checking out my earlier videos, part 0 and part 1 show how to connect your computer to git hub, all you really need to do is the same process over and over.

  • @srynearson1
    @srynearson1 12 лет назад

    Hey could anyone point me in the right direction. I'm looking to understand how to use my git repo on multiple machines.

  • @WilliamStrealy1
    @WilliamStrealy1 11 лет назад

    Those duplicates happened to be the same file. One commit and two checkouts.

  • @patomora3771
    @patomora3771 11 лет назад

    Could you make a video about this:
    git pull
    error: Your local changes to the following files would be overwritten by merge:
    InvestigacionLenguajes.pdf
    Please, commit your changes or stash them before you can merge.
    Aborting

  • @zachary3625
    @zachary3625 6 лет назад

    I tried coke once....I almost drowned. lulz.

  • @kimberlyolivo9986
    @kimberlyolivo9986 8 лет назад

    what is a green with + sign?

    • @thejacenxpress
      @thejacenxpress  8 лет назад

      the green lines with a plus sign indicate new lines added to the file

    • @kimberlyolivo9986
      @kimberlyolivo9986 8 лет назад

      okay.. Thanks for answering my question

    • @kimberlyolivo9986
      @kimberlyolivo9986 8 лет назад

      can you have a tutorial about visual studio 2013 using git?

    • @thejacenxpress
      @thejacenxpress  8 лет назад

      +Kimberly Olivo Unfortunately I don't use Visual Studio :/ sorry about that!

    • @kimberlyolivo9986
      @kimberlyolivo9986 8 лет назад

      ohh okay its fine with me

  • @patomora3771
    @patomora3771 11 лет назад

    I tried to use git reset --hard and didnt work
    $ git pull
    Auto-merging InvestigacionLenguajes.tex
    CONFLICT (content): Merge conflict in InvestigacionLenguajes.tex
    CONFLICT (modify/delete): InvestigacionLenguajes.pdf deleted in aef51d1ed4d31d6b
    94d764f8c0f19f2acdf0d760 and modified in HEAD. Version HEAD of InvestigacionLenguajes.pdf left in tree.
    Automatic merge failed; fix conflicts and then commit the result.

  • @AliceRyhl
    @AliceRyhl 12 лет назад

    yours duplicated the start of the random hash 3 times in a row

  • @GautamThakur
    @GautamThakur 10 лет назад

    thanks thanks but your to fast

    • @jeremyjones7696
      @jeremyjones7696 10 лет назад +7

      if only there was a way to pause these videos...