How to edit pushed git commit message?

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

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

  • @mystoganza
    @mystoganza Год назад +4

    You have a fantastic way of explaining things! Thanks to you, I've learned how to change git commits, and it has truly made my life easier. I can't express enough how grateful I am to you. Thank you so much!

  • @veud
    @veud 2 года назад +19

    I really struggled at the editor with the ESS, I and Shift + Z. Nobody expect you told me what to press. Thank you!

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

      Yes !! damn, how can we know this ?!

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

      I read the whole documentation. And I don't know this key exist., probably I missed that one

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

      Git is using a text editor configured in your dev environment and as such it's defaulting to vi. Those are vi's specific incantations, not Git's. One can also use ":"+"wq" instead of "Shift+ZZ" for the same effect.

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

      @@sleyzerzon thank you

  • @Ed-gd5ec
    @Ed-gd5ec Год назад +3

    Simple, Precise, and to the point explanation. Thanks Javid for wonderful explanation :)

  • @MrBonbatong
    @MrBonbatong 9 месяцев назад +3

    I'm a student and just took my whole morning to figure out how to modify my commit messages with chat GPT. In the end, I used your second solution, if I knew before your video existed, it would have saved me plenty of time 😂

    • @Khang_Vo
      @Khang_Vo 5 месяцев назад +1

      Me too =)) but I found this video after 15 minutes of searching for a solution

  • @prakashdura7860
    @prakashdura7860 9 месяцев назад

    wow! i was really struggling to edit the commit message and wondering here and there. At the end, I found your video and was really helpful. you made my day bro! Thank you so much!

  • @AshwaniSharma-r5c
    @AshwaniSharma-r5c 2 месяца назад

    Simple yet Useful explanation, Keep up the good work Javid

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

    This was so so helpful, i really struggled and then hearing you spell out the commands made it so easy.. thank you so so much Javid code

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

      Awesome. Glad it helped!

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

    So I am a beginner with GitHub. I have been stuck on making changes on past commit messages for two days!! until I came across this video; thank you so much!!!!😭😭😭😭😭😭

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

    Thank you so much. I was struggling for how to use that editor, the way you spelled out the command it’s crystal clear now❤

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

      Thanks. Glad to hear that!

  • @JavidCode
    @JavidCode  2 года назад +13

    It is git commit --amend (sorry for the mistype in the first part of the video).

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

      Yes, git usage shows, for a moment, i thought, how come you could use "ammend" w/o an error.
      xyz% git commit --ammend
      error: unknown option `ammend'
      usage: git commit [-a | --interactive | --patch] [-s] [-v] [-u] [--amend]

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

    really really helpful, point to point talk 😍😍 good job man, thanks

  • @aksfusion
    @aksfusion 9 месяцев назад

    After hours of frustration, finally your video gave me much wanted relief !

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

    The best video regarding the topic. Thank you!

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

    This video was truly helpful
    Watched several videos but they were not helping at all
    Your vids are beginner friendly
    Thanks

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

      Oh thanks for the kind words

  • @k.heidari5260
    @k.heidari5260 10 месяцев назад

    thanks for uploading this! saved me from a ton of headache!

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

    You are the best you just helped me out after lots of Googling, you told me what to press thanks for that

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

    A very helpful one. Thank you so much!!!

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

    This video really help me, thanks a lot!!

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

    Thank you so much, this video solve a huge mystery of mine. It is very helpful.

  • @laxmannayak1302
    @laxmannayak1302 25 дней назад

    Thanks bro, I got helped a lot.

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

    omg i love you i was struggling very hard thank you A LOT!!!

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

    Thank you so much... This is a lifesaver. Direct to the point

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

    thank u so much.. i was just stuck there and now i have succesfully changed my commit name

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

    Me salvaste mi empleo. Saludos desde Perú 🤙

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

    thank you soo much was struggling for an hour

  • @CarlosVasquez-gb5bm
    @CarlosVasquez-gb5bm 9 месяцев назад

    Thanks bro! You really explain so good!

  • @DanielGariba-j5j
    @DanielGariba-j5j Год назад +1

    All i can say is many thanks man, you are a life saver😉

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

    Thanks for video man!

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

    you've got another subscriber for this beautiful explanation.
    God bless you Javid.

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

    Very helpful video mate. Cheers!

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

    Great vid, really helped me out hahah

  • @sahilsaini05
    @sahilsaini05 11 месяцев назад

    Nobody tells this straight forwardly. Thanks!

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

    Clear instructions ! Thanks !

  • @matteogalassini-vi9db
    @matteogalassini-vi9db 7 месяцев назад

    If u only want to edit the commit message, u can use reword so that u dont have to run amend and rebase --continue, but only push, and u can also edit multiple commit message one after another😉

  • @TawandaDiza
    @TawandaDiza 10 месяцев назад

    Waaaaaaaaaaaaal, You are the best
    I am really helped by this, I had almost given up
    This is worth subscribing to, yu have gain one follower

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

    Thanks for this man🔥

  • @Flux0_0-u2d
    @Flux0_0-u2d Месяц назад

    thank you for the help

  • @felipecasarin596
    @felipecasarin596 9 месяцев назад

    Thanks for the help

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

    Bruv you a legend!

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

    Thanks, Javid!!

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

    saved my day. Thank you so much.

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

    Thank you so much !!

  • @AxelMacaroff
    @AxelMacaroff 9 месяцев назад

    In second case is better to use reword.

  • @dereck_ua
    @dereck_ua Месяц назад

    OMG, THANK U , Great MAN !!!

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

    Thank you sir

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

    How can we edit commit of protected branch?

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

    Thanks !

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

    thank you so much

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

    Thanks for this

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

    Thank youu 🙏

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

    thianbk u so much bro

  • @rism8345
    @rism8345 10 месяцев назад

    Teshekkurler ;)

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

    man, i need to change 10 commits like that :( but thanks!

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

    thank you sooo much

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

    thanks for saving me

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

    thanks mate

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

    thx mate

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

    when i push it's not changing the message on github, only on my local repository.

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

      nevermind it works, i forgot to add the changes

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

      why tf there's so few tutorials about this ? no one ever made a mistake on a commit message ever ?

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

      Glad it worked in the end. Not sure, maybe no one does -).

  • @MrBoy-bc4zy
    @MrBoy-bc4zy Год назад

    thnkz

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

    If it's the most recent commit do git reset --soft HEAD~1

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

    git push -f didn't work for me but with two dashes --f

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

    very very very helpful

  • @13WDERS
    @13WDERS Год назад

    i am here again lol

  • @KaloyanMladenov-v1r
    @KaloyanMladenov-v1r Год назад

    Legend

  • @alfredosolorzanoaguilar3058
    @alfredosolorzanoaguilar3058 11 месяцев назад

    It work for bitbucket?

    • @JavidCode
      @JavidCode  11 месяцев назад

      I haven't used bitbucket for a while, don't see why it wouldn't. I think it should.

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

    Greaaaaat!!

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

    nice, thanks man 👍

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

    Thanks a lot 🫂

  • @AnEngineeringGirl
    @AnEngineeringGirl 11 месяцев назад

    Thank you so much!

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

    Thank you so much