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!
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.
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 😂
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!
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!!!!😭😭😭😭😭😭
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]
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😉
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!
I really struggled at the editor with the ESS, I and Shift + Z. Nobody expect you told me what to press. Thank you!
Yes !! damn, how can we know this ?!
I read the whole documentation. And I don't know this key exist., probably I missed that one
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.
@@sleyzerzon thank you
Simple, Precise, and to the point explanation. Thanks Javid for wonderful explanation :)
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 😂
Me too =)) but I found this video after 15 minutes of searching for a solution
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!
Simple yet Useful explanation, Keep up the good work Javid
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
Awesome. Glad it helped!
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!!!!😭😭😭😭😭😭
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❤
Thanks. Glad to hear that!
It is git commit --amend (sorry for the mistype in the first part of the video).
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]
really really helpful, point to point talk 😍😍 good job man, thanks
After hours of frustration, finally your video gave me much wanted relief !
The best video regarding the topic. Thank you!
This video was truly helpful
Watched several videos but they were not helping at all
Your vids are beginner friendly
Thanks
Oh thanks for the kind words
thanks for uploading this! saved me from a ton of headache!
You are the best you just helped me out after lots of Googling, you told me what to press thanks for that
A very helpful one. Thank you so much!!!
This video really help me, thanks a lot!!
Thank you so much, this video solve a huge mystery of mine. It is very helpful.
Thanks bro, I got helped a lot.
omg i love you i was struggling very hard thank you A LOT!!!
Thank you so much... This is a lifesaver. Direct to the point
thank u so much.. i was just stuck there and now i have succesfully changed my commit name
Me salvaste mi empleo. Saludos desde Perú 🤙
thank you soo much was struggling for an hour
Thanks bro! You really explain so good!
All i can say is many thanks man, you are a life saver😉
Thanks for video man!
you've got another subscriber for this beautiful explanation.
God bless you Javid.
Thanks!
Very helpful video mate. Cheers!
Great vid, really helped me out hahah
Nobody tells this straight forwardly. Thanks!
Clear instructions ! Thanks !
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😉
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
Thanks for this man🔥
thank you for the help
Thanks for the help
Bruv you a legend!
Thanks, Javid!!
saved my day. Thank you so much.
Glad it helped
Thank you so much !!
In second case is better to use reword.
OMG, THANK U , Great MAN !!!
Thank you sir
How can we edit commit of protected branch?
Thanks !
thank you so much
Thanks for this
Thank youu 🙏
thianbk u so much bro
Teshekkurler ;)
man, i need to change 10 commits like that :( but thanks!
thank you sooo much
thanks for saving me
thanks mate
thx mate
when i push it's not changing the message on github, only on my local repository.
nevermind it works, i forgot to add the changes
why tf there's so few tutorials about this ? no one ever made a mistake on a commit message ever ?
Glad it worked in the end. Not sure, maybe no one does -).
thnkz
If it's the most recent commit do git reset --soft HEAD~1
git push -f didn't work for me but with two dashes --f
very very very helpful
i am here again lol
Legend
It work for bitbucket?
I haven't used bitbucket for a while, don't see why it wouldn't. I think it should.
Greaaaaat!!
nice, thanks man 👍
Thanks a lot 🫂
Thank you so much!
Thank you so much