11 | Delete recent commits from any git branch locally and remotely | By Hardik patel

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.ย. 2024
  • How to delete and remote commits from local branch and also remote branch history?
    Links -
    Website - www.aaravtech.com
    Facebook / aaravtech
    Twitter - / aarav_tech
    Instagram - / aaravtech Gears:
    - Microphone - T669-Condenser-Microphone-Adjustable-Scissor - amzn.to/3WB0XCs
    - Previous Microphone - Boya ByM1 - amzn.to/3Yc17Bv
    - Laptop - Mac book Pro M2 - amzn.to/46zEOIh
    (Used in few videos to record in some it is used to edit videos)

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

  • @ChrishanJayakody
    @ChrishanJayakody 4 ปีที่แล้ว +11

    This is the clearest tutorial on youtube on deleting commits on a remote branch. Thanks.

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

    Thank you Hardik . It Helped me a lot

  • @AzharAliajju
    @AzharAliajju 4 ปีที่แล้ว +5

    I must say this is the clearest tutorial on youtube on deleting commits on a remote branch. Thanks a ton, brother. God bless you..!!!

  • @3ms111
    @3ms111 10 หลายเดือนก่อน +1

    Bro, you saved my work in the last moment. 🎉 Thankyou so much for this video, it's really help me a lot.✨

  • @ClutchPictures
    @ClutchPictures 3 ปีที่แล้ว +3

    This worked for me! Allowed me to go back 2 commits after I installed LWRP and wanted to go back to before. Great tutorial!

  • @MilanMarjanovic0709
    @MilanMarjanovic0709 2 ปีที่แล้ว

    I can't describe how I am grateful for this video. I have to tell you that this is simpliest and most useful video regarding deleting commits from branch. No confusing, no shity stories... just how things works. So thank you once again!

    • @HardikPatelN
      @HardikPatelN  2 ปีที่แล้ว +1

      I am glad you liked it 🙂

  • @georgiospantermakis3006
    @georgiospantermakis3006 2 ปีที่แล้ว +1

    Very helpful! Simple and straightforward your example about how someone can delete a pushed commit. Thanks!

  • @SubhrosTravelouge
    @SubhrosTravelouge 3 ปีที่แล้ว +5

    Awesome tutorial, this is so simple and easy you have manage and gave example. Loved it. Thank you so much.

  • @jahanzaibtariq3530
    @jahanzaibtariq3530 2 ปีที่แล้ว

    Thanks Hardik. To the point......

  • @luisandrade7524
    @luisandrade7524 ปีที่แล้ว

    you are incredible! thank you so much. big hug from Brazil

  • @AandKVlogs
    @AandKVlogs 2 ปีที่แล้ว

    Thank you for the info, very beneficial

  • @namrataraikwar3962
    @namrataraikwar3962 2 ปีที่แล้ว

    Thank you so much sir. Really helpful.

  • @MarsVlogSoon
    @MarsVlogSoon 3 ปีที่แล้ว

    Thanks a lot. This video helped me to get the job done..

  • @SoorajJose1
    @SoorajJose1 4 ปีที่แล้ว

    Thank You .....! Today this tutorial save my life.

  • @yashawanthraj8872
    @yashawanthraj8872 ปีที่แล้ว

    Thanks it was very easy , and straight forward

  • @valeriacapurro1386
    @valeriacapurro1386 ปีที่แล้ว

    Thank you so much this was very clear

  • @thiernodicko4771
    @thiernodicko4771 2 ปีที่แล้ว

    Thank you brother..

  • @user-iy8dl4fs7i
    @user-iy8dl4fs7i 4 ปีที่แล้ว +1

    Thank you for sharing this great tutorial, you really helped me

  • @yogeshkhatri7281
    @yogeshkhatri7281 3 ปีที่แล้ว

    Aree sir apne ne baacha liya Thank You

  • @SouvikSarkar
    @SouvikSarkar 2 ปีที่แล้ว

    True champ. Thanks man.

  • @madhavrajkondawar8242
    @madhavrajkondawar8242 3 ปีที่แล้ว +1

    This was amazing, thank you so much, worked like a charm!

  • @guilhermelopes7809
    @guilhermelopes7809 2 ปีที่แล้ว

    Thanks a lot! Really good and easy to follow tutorial

  • @FabianoChagas
    @FabianoChagas 5 ปีที่แล้ว +2

    You just saved my life, dude.

  • @savecookie6108
    @savecookie6108 2 ปีที่แล้ว +1

    thanku so much

  • @padmajabhol7020
    @padmajabhol7020 2 ปีที่แล้ว

    awesome work

  • @emanueltejadacoste2250
    @emanueltejadacoste2250 3 ปีที่แล้ว

    Great video

  • @pallavimanan4124
    @pallavimanan4124 2 ปีที่แล้ว

    Thank you, you're a savior! It was very helpful!

  • @user-ng3td9wq6e
    @user-ng3td9wq6e 3 ปีที่แล้ว

    thanks a lot.

  • @vish.s1451
    @vish.s1451 2 ปีที่แล้ว +1

    Thanks!

    • @HardikPatelN
      @HardikPatelN  2 ปีที่แล้ว +1

      Thank you for appreciation.

  • @DD-tb4op
    @DD-tb4op 3 ปีที่แล้ว

    Thank you

  • @shivamgoswami2711
    @shivamgoswami2711 2 ปีที่แล้ว

    This tutorial in awesome I loved it thankyou

  • @ahmedgouiaa3215
    @ahmedgouiaa3215 ปีที่แล้ว

    thank you sir

  • @honeypatel9283
    @honeypatel9283 3 ปีที่แล้ว

    Thank you thank you so much for this tutorial.

  • @ryanlegits7221
    @ryanlegits7221 4 ปีที่แล้ว

    Thank you so much! This video was very clear and worked perfectly! Subscribed!

  • @GugaMoto
    @GugaMoto 4 ปีที่แล้ว

    It is so helpful. Thank you!

  • @kenjisasahara8172
    @kenjisasahara8172 2 ปีที่แล้ว

    thank you!! This worked very well for me :)

  • @Itsatarp1337
    @Itsatarp1337 3 ปีที่แล้ว

    THANKS ALOT:

  • @farrukhbek8378
    @farrukhbek8378 4 ปีที่แล้ว +3

    dude I don't even know how to thank you!

  • @Aspanyify
    @Aspanyify 3 ปีที่แล้ว

    you are the best)) Thanks brother!! Clearly and usefull!

  • @michaeltesfay2765
    @michaeltesfay2765 3 ปีที่แล้ว

    thank you sir this really helped

  • @rahulaggarwal9000
    @rahulaggarwal9000 2 ปีที่แล้ว

    Bacha liya bhai bs last time me😅😅

  • @ethicalhacker303
    @ethicalhacker303 4 ปีที่แล้ว

    *Thanks for make this video.*

  • @sunilshivanakkanavar1541
    @sunilshivanakkanavar1541 3 ปีที่แล้ว

    Thank you helped me alot

  • @lylesback2
    @lylesback2 4 ปีที่แล้ว

    Thank you, seriously, THANK YOU!

  • @leonardoribeiro6941
    @leonardoribeiro6941 3 ปีที่แล้ว

    Helped me a lot, thank you!

  • @evilzpb3621
    @evilzpb3621 2 ปีที่แล้ว

    Best

  • @OmarAshrafBombo
    @OmarAshrafBombo 4 ปีที่แล้ว

    Thank You So Much, You Saved my Life

  • @shekelboi
    @shekelboi 4 ปีที่แล้ว

    Thanks a lot, it worked.

  • @MatheusSantos-rh5jo
    @MatheusSantos-rh5jo 3 ปีที่แล้ว

    Thank you!

  • @martinvazquez5708
    @martinvazquez5708 3 ปีที่แล้ว

    man, i love you

  • @khangohan7288
    @khangohan7288 ปีที่แล้ว

    I was trying to push to github repository but due to large file lfs error come. So I delete the larg file which is not necessary due to which error was coming but still error is there of git LFS. Any suggestions to this problem

  • @AnindyasundarBeraAB
    @AnindyasundarBeraAB 4 ปีที่แล้ว

    Thanks man. You saved me

  • @Ray11mond
    @Ray11mond 3 ปีที่แล้ว

    You saved me man!

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

    Its not working it says remote: Support for password authentication was removed on August 13, 2021.

  • @pratikjariwala7702
    @pratikjariwala7702 3 ปีที่แล้ว

    If the commits was made without pushing, how can I undo it?....please help

  • @jimnauseum61
    @jimnauseum61 4 ปีที่แล้ว

    Just saved my sanity!

  • @renatogracin8239
    @renatogracin8239 4 ปีที่แล้ว +1

    You the man :)

  • @user-fd3cl9to5e
    @user-fd3cl9to5e 4 ปีที่แล้ว

    thanks alot

  • @mettasatishkumar
    @mettasatishkumar 3 ปีที่แล้ว

    getting Permission denied to force push branch when I tried ""git push origin feature/xyz -f " ; ANy other solution?

  • @bobbyG883
    @bobbyG883 ปีที่แล้ว +1

    Now how can you do this using VsCode commands?

    • @HardikPatelN
      @HardikPatelN  ปีที่แล้ว +1

      Vscode doesn’t provide detail level features but I will check if there is any way of doing the same in it.

    • @bobbyG883
      @bobbyG883 ปีที่แล้ว +1

      @HardikPatelN please can you check, thank you 😊

  • @amitamit6564
    @amitamit6564 4 ปีที่แล้ว

    suppose I have 7 commits in master branch , let us say commit id , A1 to A7 . There is another team member who had done 5 commits in master branch like B1 to B5.Order of commits is as follows.
    A1, B1,A2,B2,B3,A3,B4,B5,A4,A5,A6,A7. Now I have 2 situations
    Situation 1:- Remove only my comments A1 to A7
    Situation 2 :- Remove commits A3,B2 , B4, A7
    How can I achieve this

  • @PubG-dl5eh
    @PubG-dl5eh 2 ปีที่แล้ว

    I want to delete a specific commit not head commit, then what should I do sir/anyone?
    Edit - after push

    • @PubG-dl5eh
      @PubG-dl5eh 2 ปีที่แล้ว

      Sir I write my problem in your whatsapp ...pls check and reply me sir

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

    bro its not working😢 the commit is still there

  • @sajanmahat4764
    @sajanmahat4764 4 ปีที่แล้ว

    wowwww!!!! i love you

  • @adambantawa
    @adambantawa 4 ปีที่แล้ว

    commit history was deleted remotely only but there still some files in my application with local history. any solution to delete the file locally?

    • @jakenguyen1150
      @jakenguyen1150 4 ปีที่แล้ว

      use git clean to remove untracked files

  • @allwillpass7847
    @allwillpass7847 4 ปีที่แล้ว

    ty:>

  • @Spacey.
    @Spacey. 3 ปีที่แล้ว

    4:08 Start here

  • @JNET_Reloaded
    @JNET_Reloaded 3 ปีที่แล้ว

    Starts @3:55

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

    oh hell my local comit was lost

  • @marcosvicente6795
    @marcosvicente6795 4 ปีที่แล้ว

    minus all commits ty :(

  • @ahmadrezamozaffary7867
    @ahmadrezamozaffary7867 3 ปีที่แล้ว

    Thanks bro