Knowledge is Power: Getting out of trouble by understanding Git by Steve Smith

Поділитися
Вставка
  • Опубліковано 3 гру 2024

КОМЕНТАРІ • 23

  • @ruixue6955
    @ruixue6955 4 роки тому +13

    1:23 git is fundamentally a *content-addressable filesystem* with VCS (version control system) under user interface written on top of it
    4:51 git internals
    5:06 the *first level* of the *git module* - *blob*
    5:24
    7:59 what a blob is:
    9:25 git commit
    9:55 3 fundamental types of git objects
    10:01 blob
    10:10 *tree* - points to the blob
    14:10 refs, branches and tags
    14:45 *ref* - *a pointer to an object*
    14:50 on the simplest level, it is just a file with a string in it
    15:23 *branch -*
    16:40 *tag*

  • @viteok1234
    @viteok1234 7 років тому +4

    Smart guy. Clear explanation and understandable. Really the basics which every git user should know . I like this phrase at 4:07 ---> " Once you realize internal model, you realize what commands must exist".

  • @ruixue6955
    @ruixue6955 4 роки тому +6

    29:03 git merge
    29:40 *git cat-file* to see the tenet of merge
    32:20 different merge strategies
    37:57 git rebase
    39:52 git reset --hard

  • @ruixue6955
    @ruixue6955 4 роки тому +2

    19:28 git reset - 19:40 *manipulate a tag or ref*
    19:49 what it does is *move* that *pointer back down the tree*
    21:01 how do you get back to that previous state.
    say you've made a mistake here 21:06 you've done a reset
    21:40 *git reflog*
    23:30 git gc
    40:41 get back to the previous status

  • @Badamski
    @Badamski 8 років тому +11

    This is one of the best git talks I've seen, it deserves way more views.

  • @genovo
    @genovo 6 років тому +5

    Extremely good git talk -- Up through 14:13, some clarification: touching an empty file, may change timestamp, but will not change blob hash inside your git init;

  • @nO_d3N1AL
    @nO_d3N1AL 7 років тому +6

    This talk isn't the most friendly introduction to understanding Git, especially if you're new to Git, but it's useful to have a technical, in-depth look at it Git in a video format since it's easier to grasp than reading a massive blog post.

  • @jonathansawyer01
    @jonathansawyer01 8 років тому +1

    Thank you for the excellent presentation!

  • @WholeNewLevel2018
    @WholeNewLevel2018 Рік тому

    29:21 Nice talk. The arrows are messed up.

  • @prashantsingh1096
    @prashantsingh1096 6 років тому

    Well said. "Just remember the commands and type it ". :)

  • @jonathansawyer01
    @jonathansawyer01 8 років тому +1

    Excellent !!!

  • @lgylym
    @lgylym 7 років тому

    Good work. Thank you.

  • @maik-beckmann
    @maik-beckmann 8 років тому

    Very good information, very well done slides. A minor ciritc: Sometimes it's very hard to audibly understand the presenter, due to extreme talking speed.

  • @stevecarter8810
    @stevecarter8810 3 роки тому

    That would be Emma Jane Hogbin Westby. 3/4 is still a respectable score, and that name has good inherent error correction via its low collision rate.

  • @mdturnerinoz
    @mdturnerinoz 9 років тому

    The way I learned git there were FOUR basic objects in git: the three you mentioned and the fourth are hard tags (git tag -a tag name). Has this changed?

    • @Dominic_Muller
      @Dominic_Muller 9 років тому

      +Marty Turner There are tags, yes, but intros tend not to mention them as they aren't required for understanding the model.

  • @halilkarakose
    @halilkarakose 8 років тому +1

    Very informative presentation. Slides can be found: www.slideshare.net/tarkasteve/knowledge-is-power-getting-out-of-trouble-by-understanding-git
    I found "reflog + reset = redo" slide very helpful. See minute 40:00

  • @Arcsecant
    @Arcsecant 6 років тому +4

    I'm very sad that the arrows point the wrong way round. 😥 Advanced talks should have them point from child to parent.

  • @DisfigurmentOfUs
    @DisfigurmentOfUs 9 років тому

    nice

  • @LeviMcCormick
    @LeviMcCormick 9 років тому +1

    He references this video:
    Teaching People Git, Emma Jane Hogbin Westby - Git Merge 2015
    ua-cam.com/video/xYhHi8yK-Is/v-deo.html

  • @robhein7573
    @robhein7573 3 роки тому

    "reset manipulates a ref" - which one?
    "git reset --hard feature^" - what is "feature" in this context?
    arrow with the word "feature" moves back one commit - what does the "feature" arrow represent?
    "hard completely destroys this and checks it out again" - destroys what?
    "reset manipulates the branch head" - what is a head?
    "^ means parent" - parent of what?
    "the reason I do prune all is because I'm forcing the situation" - huh?
    "merges keep the context of the feature's commits" - what context? By "feature" do you mean branch?
    "a ff merge shifts the head forward as if nothing happened" - nothing happened?
    A topic this complex demands more concise language.

  • @notker88
    @notker88 7 років тому

    nice content but he does not speak very clearly :( it's very hard to understand him