git diff: everything you need to know

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ก.ย. 2024

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

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

    Never thought Tony Stark would teach me git diff...

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

    git add -p is the best!! it lets u add parts of files while showing diffs interactively

    • @andrew-burgess
      @andrew-burgess  29 วันที่ผ่านมา +1

      Oh yeah, love that one too!

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

    Adding these git diff commands to my process. Thanks Andrew!

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

    The word diff is something I didn't know and will definitely incorporate into my workflow!

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

    you can just see it lot more readable and cleaner simply in vs code

  • @michaelns9887
    @michaelns9887 27 วันที่ผ่านมา +1

    dandavison/delta is so much better than any diff flags

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

    great video as always ! i'd like to know which clipboard manager you used to copy paste sha commit ?

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

    Gotta love a fellow Alfred user!

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

    "welcome to look around" hahahaha

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

    I discovered Git Kraken a bunch of years ago, and just can't go back to the command line.

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

    I can't tell if the beard is a net positive or negative. So I'm just gonna add an "_i_" to the score and cause this is a complex problem.

  • @VickieRussell-q8w
    @VickieRussell-q8w 6 วันที่ผ่านมา

    Natasha Point

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

    This video gave me an idea of how to compare clipboard content with a local file `xclip | git diff --word-diff /etc/X11/xorg.conf -`

  • @LaurenceHilliard-k1p
    @LaurenceHilliard-k1p 6 วันที่ผ่านมา

    Nikolaus Row

  • @ahmadouwalyndiaye4560
    @ahmadouwalyndiaye4560 29 วันที่ผ่านมา

    How could you have the list of copied values please ..?

    • @andrew-burgess
      @andrew-burgess  29 วันที่ผ่านมา

      Using a clipboard manager!

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

    First! Cool!

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

    What termainal are you using?

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

      Probably Alacritty, since you can see it running in his dock at 3:09

    • @andrew-burgess
      @andrew-burgess  หลายเดือนก่อน

      Yep! See the tools link in the video description

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

    I'm glad I know this but I'm gonna stick with lazygit

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

      You can add custom keymaps to Lazygit to do some of these

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

    I never use git in console, what an old approach

    • @dasten123
      @dasten123 วันที่ผ่านมา

      what an old way of thinking