git diff: everything you need to know

Поделиться
HTML-код
  • Опубликовано: 5 янв 2025

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

  • @TheTmLev
    @TheTmLev 4 месяца назад +15

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

  • @MohammadLsk
    @MohammadLsk 2 месяца назад

    Awesome video. At 4:52, i think using git diff will show the differences against the working tree not the head

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

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

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

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

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

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

  • @akam9919
    @akam9919 4 месяца назад +1

    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.

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

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

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

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

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

    Gotta love a fellow Alfred user!

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

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

  • @gautierurso1824
    @gautierurso1824 4 месяца назад +1

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

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

    "welcome to look around" hahahaha

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

    What termainal are you using?

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

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

    • @andrew-burgess
      @andrew-burgess  4 месяца назад

      Yep! See the tools link in the video description

  • @LaurenceHilliard-k1p
    @LaurenceHilliard-k1p 4 месяца назад

    Nikolaus Row

  • @VickieRussell-q8w
    @VickieRussell-q8w 4 месяца назад

    Natasha Point

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

    First! Cool!

  • @michaelns9887
    @michaelns9887 4 месяца назад +1

    dandavison/delta is so much better than any diff flags

  • @senyai
    @senyai 4 месяца назад +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 -`

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

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

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

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

  • @flatmapper
    @flatmapper 4 месяца назад +1

    I never use git in console, what an old approach

    • @dasten123
      @dasten123 3 месяца назад

      what an old way of thinking