Git Merge Vs Rebase with Example | Differences Between Git Merge and Rebase and which one to choose?

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

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

  • @amofficialtv4642
    @amofficialtv4642 2 года назад +4

    I have seen many youtube video. But i can't understand what does rebase doing. Finally your video clear me. Very helpful video.Thank you❤️

  • @pratikkshirsagar6481
    @pratikkshirsagar6481 Год назад +8

    Best explanation on internet, very underrated video

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

      Thanks

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

      Bhai good content on RUclips is always underrated. Its rated when good seekers like us😂 meet awesome content like this

  • @emad1166
    @emad1166 11 месяцев назад +2

    Simple explanation, very well explained. Sometimes simplicity is what needed for complex things

  • @Mauliksavalia
    @Mauliksavalia Год назад +2

    You have explained in very well manner. This is very informative video. I just get this concept in a single time.

  • @mohitsketch19
    @mohitsketch19 Год назад +2

    This video is very helpful. I read many documentation and watched many videos on this topic. None helped me like this video. Great work!

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

    At last finally understood what is the difference between these two commands and when to use it. Going forward I will be confident enough when to use what without any confusion. Thanks for making this video

  • @farhaankazi7134
    @farhaankazi7134 Год назад +3

    video is very good. it cleared my things along with merge and rebase. For example If I am not wrong then rebase does not create new commit just write last commit of the one branch to other branch. First rebase takes the last commit of first branch and then write all changes to second last commit of another branch. Such action obliterate the history or tracking of commits as well as forking of branches (linking of branches done by merging). Although, rebase makes it simple linear but it rewrite new history. This can also be dangerous if many developers are working together and committing lot of changes and creating many forks. Rebase will erase the forks and links and we can not trace back in time properly to undo new changes

  • @AbhishekSingh-tz4eb
    @AbhishekSingh-tz4eb 6 месяцев назад +4

    Bird's chirping means he prolly made the video early morning. Good work Man!

  • @emad1166
    @emad1166 11 месяцев назад +2

    Just one wish, never ever stop making such great content

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

    Ek number Bhiya, Got it in one go. Thanks for the video.

  • @kunjworld83
    @kunjworld83 11 дней назад +1

    Very nice explanation

  • @suryakumar7092
    @suryakumar7092 8 месяцев назад +1

    Not knowing this concept, I was once rebasing my feature_branch with master locally. Got few merge_conflicts, resolved it, and rebased again, again got same conflicts, again resolved them and rebased again....this cycle continued till my senior observed it and suggested me go and watch why I shouldn't do rabase but merge.
    Now its clear (Thanks to ur video), rebasing was removing my merge_resolved commit and re-applying those onto master, which means nothing to master and hence the iterative merge_conflicts.

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

    Awesome explanation bro. Aaj samjh aaya.

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

    mind blowing sir, I tried by myself for the testing ... Understood 🙏🏻🙏🏻

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

    Very clearly and nicely explained.. thank you so much

  • @gauravgupta5530
    @gauravgupta5530 2 года назад +1

    I want to say that, I have bookmarked this video in my GitHub learnings. Thanks for such a wonderful explanation and with a short description of notes too. Keep up the good work 🙂.
    Also want to learn from you the distinction between rollback with rebase and hard reset.

  • @PraveenKumar-wx5yt
    @PraveenKumar-wx5yt Год назад +1

    Watched many but this got me. Thanks.

  • @light-sg5sl
    @light-sg5sl Год назад +2

    Thank you sirji
    Very helpful

  • @ramsai6141
    @ramsai6141 2 года назад +1

    Crystal clear explaination brother.
    Keep doing such an informative useful videos.

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

    this is best explanation so far

  • @aj_shela
    @aj_shela 11 месяцев назад +1

    Very good explanation👍

  • @DharmeshTechZone
    @DharmeshTechZone 2 года назад +1

    Nice video very easy and clean understanding for closest different between them, thank you so much

  • @sundergopalsingh
    @sundergopalsingh 2 года назад +1

    Very informative content about the basics of git and rebase , merge usage

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

    Great Explanation 👍

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

    Very simple nice thanks

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

    Bro thumbnail is summary and it is good

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

    Thanku sir this is very helpful

  • @mundruramakrishna9260
    @mundruramakrishna9260 7 месяцев назад

    Can you make these Git videos in English, so that it will be very helpful to follow all your videos in one flow. You're doing a great job, Thank you for your efforts.

  • @rabindraacharya5899
    @rabindraacharya5899 8 месяцев назад

    Hello,
    Encountered an issue when pulling code from the origin repository:
    fatal: Not possible to fast-forward, aborting.
    I resolved it by rebasing, but this problem recurs whenever someone pushes code. Oddly, it only occurs on my system. Any suggestions for a permanent fix? Currently, I resort to rebasing every time to address it. Is there a more lasting solution available?

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

    while doing (git merge master) f1 -> m1 -> m2 -> f2 -> f3 this is the sequence right, now if m1 and m2 are alredy merged then what is in f3 commit

  • @sadashivshinde9150
    @sadashivshinde9150 2 года назад +1

    Thanks for the video it was helpful

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

    Awesome ❤

  • @mayankukarde9288
    @mayankukarde9288 6 месяцев назад

    Really great explanation... Just one doubt... If we have git pull (git fetch + git merge) then why should we use git merge ?

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

      Git merge means we want changes of one branch to another branch.

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

    ❤ pls also explain merge conflict and resolution

  • @KishanSingh-ol7pd
    @KishanSingh-ol7pd Год назад

    Keep up the good work:) more power to you

  • @kuchalaggyan2502
    @kuchalaggyan2502 8 месяцев назад

    Git ka sara command kha per hai

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

    Wonderful explanation... Do u have other videos for git.. Grt

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

    Hi Can you provide link to download the list of commands you shown in vlog with explanation

  • @shihabahmed754
    @shihabahmed754 10 дней назад +1

    Very effective..

  • @AshishGupta-xw9yh
    @AshishGupta-xw9yh 5 месяцев назад

    great concept

  • @DevanshiGupta-nn3zh
    @DevanshiGupta-nn3zh Год назад

    Good explanation ....when will you launch your Spring Boot series...eagerly waiting !!

  • @AD-ng4mz
    @AD-ng4mz 3 месяца назад +1

    nice. Thanks

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

    mind opener video

  • @ch.pruthvi9632
    @ch.pruthvi9632 2 года назад

    Hey Brother it's a great video! Can u also make a video on merge conflicts cases and handling in both merge and rebase cases

  • @ramprasadthakur1682
    @ramprasadthakur1682 7 месяцев назад +1

    Thanks

  • @AshishYadav-ql3up
    @AshishYadav-ql3up 3 месяца назад +1

    loved it

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

    Awesome

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

    u should use practical also

  • @vivekkumarshaw6495
    @vivekkumarshaw6495 2 года назад +1

    Sir can u please share ur telegram grp link

  • @mahsahoori7563
    @mahsahoori7563 5 месяцев назад

    Why in hindi? I am regretting that why I can not see your perfect videos that are not in english. 🥺