How to Squash Git Commits

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

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

  • @chethannv2.0
    @chethannv2.0 Месяц назад

    Impressive Sir. I have got huge respect for teaching skills.

  • @apivovarov
    @apivovarov 9 месяцев назад +1

    Thank you for this video and especially for example-repo on gitlab!

  • @eshansingh5232
    @eshansingh5232 Год назад +1

    Your narrating voice is really good , reminds me of Mercedes TV ads and Nat Geo shows

  • @hadesunseen6388
    @hadesunseen6388 Год назад +1

    awesome explanation, thanks for sharing

    • @cameronmcnz
      @cameronmcnz  Год назад

      Glad I could be of service.
      It's a pretty advanced topic, so if you understood it, you're pretty clever yourself.

  • @RajasthaniRambler
    @RajasthaniRambler 2 года назад +2

    Nice video, this is happy path that different files are added in different branches. Can you please consider complex scenario, where same files modified in different branches. Then my branch have lots of commits and merges then how to squash those into one.

    • @cameronmcnz
      @cameronmcnz  2 года назад

      Indeed. I'm guilty of 'happy path' programming here. Just trying to make it simple for new users. I'll see if I can come up with a more complicated scenario that reflects the real world the next time I put together a recording.

  • @FlaviusAspra
    @FlaviusAspra 3 года назад +2

    Isn't there a git merge squash?

  • @danyavoldev
    @danyavoldev Год назад

    Why don't you just use git merge --squash? This is much faster and easier