So You Think You Know Git Part 2 - DevWorld 2024

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ม.ค. 2025

ความคิดเห็น •

  • @jasonhuang1447
    @jasonhuang1447 9 หลายเดือนก่อน +106

    Didn’t know Pedro Pascal is such a git nerd.
    Amazing talk btw!!

  • @drewnoakes
    @drewnoakes 9 หลายเดือนก่อน +86

    It's not every day you learn several new git features to try out. Thanks for a great talk.

    • @gitbutlerapp
      @gitbutlerapp  9 หลายเดือนก่อน +5

      thanks for watching!

    • @kyle19421
      @kyle19421 9 หลายเดือนก่อน +1

      The best kinda days

  • @Jakob7539511
    @Jakob7539511 9 หลายเดือนก่อน +56

    Yoo I was really excited by the first talk, so great to see the part 2 :)

    • @MelroyvandenBerg
      @MelroyvandenBerg 9 หลายเดือนก่อน +2

      Some reason I'm watching this part 2 :D !!

  • @ruroruro
    @ruroruro 9 หลายเดือนก่อน +42

    17:13 I am apparently one of the "three guys". I wished for this option for a long time. This is a huge lifesaver.

    • @positronalpha
      @positronalpha 9 หลายเดือนก่อน +2

      Agree, super useful.

    • @shyrealist
      @shyrealist 9 หลายเดือนก่อน +3

      Came here to say this! `--update-refs` where have you been all my life!

    • @lindhe
      @lindhe 7 หลายเดือนก่อน

      I love it! ❤

  • @Fazal828
    @Fazal828 9 หลายเดือนก่อน +20

    Presentation so fire you triggered the alarms haha. Loved both of these and I could listen/use many more :D

  • @Gadrawingz
    @Gadrawingz 2 หลายเดือนก่อน +1

    The course is undestandable and the intro song was so entertaining!

  • @AndreGreeff
    @AndreGreeff 9 หลายเดือนก่อน +11

    had a thought around 5:11: I understand Linus' concept of not breaking backwards compatibility, so that `checkout` will continue to work even though there are newer commands that do the same thing, but if the idea is to have these new commands be "more semantic" than the old ones, why not at least show a message in terminal when using the old command to say "hey, there's a better way to do this now"...? surely that would help people who use Git every day (like me) to learn them more quickly.

  • @gratux
    @gratux 9 หลายเดือนก่อน +1

    Damn, I would have appreciated knowing about worktrees about 2 weeks ago 🙃
    Always a chance to learn something new

  • @positronalpha
    @positronalpha 9 หลายเดือนก่อน +21

    I've used fixup commits and rebasing for many years. Can't see how you'd get a clean, meaningful history without it.
    Lovely talk as always!

  • @QW3RTYUU
    @QW3RTYUU 4 หลายเดือนก่อน

    The guy is about them beers hah
    Nice hearing your talks, thanks for making them. Hopefully we'll have beers one day.

  • @debemdeboas
    @debemdeboas 9 หลายเดือนก่อน +6

    i love these talks

  • @silak33
    @silak33 9 หลายเดือนก่อน +12

    I had no clue you don't need to do an interactive rebase to make autosquash work anymore... Nice to know :)

    • @gitbutlerapp
      @gitbutlerapp  9 หลายเดือนก่อน +3

      I believe this was _very_ recently added. 2.44 I think, so maybe a month ago?

    • @samrjack
      @samrjack 2 หลายเดือนก่อน

      I was trying to experiment with this feature and was confused why it wasn’t working without the interactive flag. Turns out I am still on 2.39. Thank you for the callout in the comments here so I know I’m not going crazy!

  • @SirGallahad09
    @SirGallahad09 9 หลายเดือนก่อน +3

    It's the best video I’ve watched the whole week. Thank you!

  • @LarsBjerregaard
    @LarsBjerregaard 3 หลายเดือนก่อน

    Woah, I didn't know about git worktree. That seems really useful and I've done it the poor man's way a bunch of times. Thanks!

  • @AnonymousMaykr
    @AnonymousMaykr 6 หลายเดือนก่อน +1

    These are awesome, thanks!

  • @ZevIsert
    @ZevIsert 9 หลายเดือนก่อน +1

    Aside from the large repository stuff (scalar) I would have put my hand up for each question, and that makes me happy 😊 Great talk Scott!

  • @dudeman99999
    @dudeman99999 9 หลายเดือนก่อน +1

    Dude these talks are so useful!!

  • @mar-wv7rp
    @mar-wv7rp 9 หลายเดือนก่อน +3

    Pretty glad I subscribed to the youtube channel :3

    • @gitbutlerapp
      @gitbutlerapp  9 หลายเดือนก่อน +2

      We're glad you did too! We'll try to make it worth your while. Let us know what you might like to see.

  • @marcgrec5117
    @marcgrec5117 9 หลายเดือนก่อน +5

    great idea to not repeat the talk 👍

  • @JanLund
    @JanLund 9 หลายเดือนก่อน +1

    Great presentation style! 👍🔀🚀

  • @Sandeep-zd6dq
    @Sandeep-zd6dq 9 หลายเดือนก่อน

    Hey Scott,
    I was barely able to get 50% of part 1 (some super heavy stuff for beginners) but this part was like you created this one for us only 🙌 the way you present these talks is just awesome 😂 please continue this series and let’s see a demo of gitbutler in the next part of this series and how’s about continuing this series until we don’t cover all 145 commands 😅😂

  • @ark.1424
    @ark.1424 6 หลายเดือนก่อน

    great talk and great speaker!

  • @gekylafas
    @gekylafas 9 หลายเดือนก่อน

    `--update-refs` is great!

  • @v-sig2389
    @v-sig2389 9 หลายเดือนก่อน +4

    The most important thing to know about git : it is not a backup system, it is a collaboration system. You have to actually use backups with another software such as beyond compare, to reduce the risk of a bug in git that deletes files and folders.
    Sometimes you don't have 5 hours to become an expert at git and understand why it suddenly refused to save the modifications. The slightest mistake, misunderstanding, or misuse of a command can harshly punish you.

    • @positronalpha
      @positronalpha 9 หลายเดือนก่อน +1

      No need to become an expert - you only need to understand the fundamentals to be able to work confidently with Git. Watch Chacon's original introduction in order to really grok Git, and you'll find that it's quite difficult to get it to lose your data. Just set a branch before doing something tricky. If you also push that branch to some remote, it's virtually impossible to lose your stuff.

    • @marcellkovacs5452
      @marcellkovacs5452 9 หลายเดือนก่อน +1

      It’s version control, first and foremost. I have plenty of repos where I’m the only developer.
      I agree that it’s not a backup solution, i.e . if your disk is corrupted and you haven’t pushed your commits, you might lose data. However, as long as your file system is intact and you committed your change, basically anything “lost” can be recovered via git reflog.

  • @ClAddict
    @ClAddict 9 หลายเดือนก่อน +3

    Across the talks there have been several recommended git config -global options recommended. Is there a good place to go to see an exhaustive list of recommended configs based on new feature adds or even just a merge commit’s expert opinion on recommended config?

    • @markusklyver6277
      @markusklyver6277 9 หลายเดือนก่อน

      You can just read the git config man page.

    • @ClAddict
      @ClAddict 9 หลายเดือนก่อน

      @@markusklyver6277 recommendation (n): a suggestion or proposal as to the best course of action, especially one put forward by an authoritative body.

    • @ruroruro
      @ruroruro 9 หลายเดือนก่อน

      ​@@markusklyver6277 The man page for git config sucks for this (or at least it used to suck). It's huge and some of the more obscure options are documented extremely poorly (or even not documented at all).

  • @blizzy78
    @blizzy78 9 หลายเดือนก่อน

    worktrees are awesome

  • @Sandeep-zd6dq
    @Sandeep-zd6dq 9 หลายเดือนก่อน

    Now onwards I will only use more domain specific/ explanatory commands instead of checkout I.e, switch and restore and allowing commit specific updates is also cool and yeah the best of all for jumbo repos I.e, scalar (any specific reason for not using git specific naming like git clone-heavy) 😂😎 I am feeling like if scalar might have introduced earlier then maybe pinterest never specify the refspec to reduce their clone time 🤪

  • @joshuathomasbird
    @joshuathomasbird 9 หลายเดือนก่อน

    you didn't mention lefthook when talking about precommit and husky!!

  • @stephiesmith6302
    @stephiesmith6302 9 หลายเดือนก่อน

    nice intro)

  • @duwangchew
    @duwangchew 9 หลายเดือนก่อน

    GitButler looks really cool and very helpful, but unfortunately switching to a GUI client would change my workflow too much so I have to stick with either using worktrees or straight up separate directories for different branches.

  • @markusklyver6277
    @markusklyver6277 9 หลายเดือนก่อน

    Those YAML configurable hooks looks nice, can these be globalized? I didn't get it to work.
    With the attributes, that's a nice feature. I configured it so that in addition to calling exiftool, it also adds the hash (by making a script). This way you can see that it changed despite no change in exif data. You can also make it so git diff fires up the different pictures visually side by side, if you want to.

  • @cusematt23
    @cusematt23 9 หลายเดือนก่อน +2

    If I had your public speaking skills I would be between 2x and 500x wealthier. Well done talk.

  • @fxs2008
    @fxs2008 8 หลายเดือนก่อน

    When working in JetBrains IDEs, I use Change lists: for example, I can create one for dev changes (that I definitely don't want to commit), other ones per branch. When commit, I select only needed change list(s) and other changes are not affected. Overall, JetBrains commit tab is quite comfortable for me.

  • @kevincozens6837
    @kevincozens6837 9 หลายเดือนก่อน +1

    I didn't see much in this talk that seemed of interest for me to look in to. I can see worktrees being useful. I already have multiple branches of a project checked out in to different directories but git doesn't know about the collection of directories. Using worktrees I can make it aware of the other branches being worked on.

    • @keyd33
      @keyd33 9 หลายเดือนก่อน

      Same here, I have like 5 different directories called git-1, git-2... I will try tomorrow

  • @MaxMalm
    @MaxMalm 9 หลายเดือนก่อน +1

    Why is Scott against a rebasing flow?

  • @CyReVolt
    @CyReVolt 9 หลายเดือนก่อน +1

    The "restore" command semantically often makes less sense for me. I frequently check out changes I have never seen, stemming from other branches or even remotes, so it is definitely not restoring anything. So in many cases it fits, just "checkout" is more general.

  • @mlajv
    @mlajv 9 หลายเดือนก่อน +2

    Deeeespaaacito

    • @biggusmunkusthegreat
      @biggusmunkusthegreat 9 หลายเดือนก่อน

      Man they really skirted the copyright with that 😂 cool how they turned it into a beat though.

  • @mandokir
    @mandokir 7 หลายเดือนก่อน +1

    Scotch Cone.

  • @for-ever-22
    @for-ever-22 9 หลายเดือนก่อน

    I was scared during the first few seconds of the video. Thought I was lost

  • @MichalFilipek
    @MichalFilipek 9 หลายเดือนก่อน +1

    Update refs❤❤❤❤❤❤❤❤😂

  • @devviz
    @devviz 9 หลายเดือนก่อน

    _ICT🌌1AM March 26th 2024_

  • @harry-smith404
    @harry-smith404 9 หลายเดือนก่อน

    Yeah, renase with references on top would be damn useful 2 years ago for me =)Now I just try not to use that approach

  • @TheRealBigYang
    @TheRealBigYang 9 หลายเดือนก่อน

    and yet, -q and --quiet still don't work consistently

  • @hansvandenbogert8992
    @hansvandenbogert8992 9 หลายเดือนก่อน +1

    almost nobody used autofixup? Wth, I'll do you one better, start using git-absorb

  • @TesterAnimal1
    @TesterAnimal1 9 หลายเดือนก่อน

    Nope. I don’t think that! 😂

  • @K4iserchen
    @K4iserchen 9 หลายเดือนก่อน +1

    Damn, coming at you with commit hooks 😢😢. Really bad stuff

  • @RazoBeckett.
    @RazoBeckett. 9 หลายเดือนก่อน

    hi 🎉?

  • @GoodWill-s8j
    @GoodWill-s8j 9 หลายเดือนก่อน

    Nobody knows Git

  • @JohnSmith-op7ls
    @JohnSmith-op7ls 5 หลายเดือนก่อน +1

    That intro was almost as bad as Git. Use Mercurial or something else, Git is trash people think isn’t trash because so many people use it. It’s the JavaScript of change control.

  • @local-admin
    @local-admin 9 หลายเดือนก่อน +1

    OhNo, there's more 🫣