Change Git Commit Messages Tutorial

  Рет қаралды 22,689

The Modern Coder

The Modern Coder

Күн бұрын

Пікірлер: 24
@themoderncoder
@themoderncoder Жыл бұрын
THE BEST GIT VIDEOS ON KZbin ------> kzbin.info/aero/PLfU9XN7w4tFwKwh_xPSQ_X1-hROQEpHnM
@sander_bouwhuis
@sander_bouwhuis 4 ай бұрын
You are a lifesaver! Previously I used the 'reset' command to roll back a few commits, then make the changes, and then try to manually do the commits again. It was hell!
@arcanelore168
@arcanelore168 10 ай бұрын
These video series are pure gold. Thanks for the work you put in them. Keep it up!
@emdirtyyo1827
@emdirtyyo1827 Жыл бұрын
Yoo Jack! I hope you're doing great ! I'm glad that you're finally back, keep going
@olga7454
@olga7454 10 ай бұрын
Thank you! git amend instructions were useful for me today
@ignacio9889
@ignacio9889 4 ай бұрын
You explained it so well, thank you very much!
@karabiadhikary7784
@karabiadhikary7784 Ай бұрын
Thank you so much! Much helpful!
@israelssantanna
@israelssantanna Жыл бұрын
Thank you! I love this short `git {something}` series!
@zilkauskas
@zilkauskas Жыл бұрын
It really helped. Thanks!
@harishdevarapalli1537
@harishdevarapalli1537 Жыл бұрын
Nice video, Thanks for your time.
@anhdevga1109
@anhdevga1109 Жыл бұрын
Thank you so much ! It's great video :")
@themoderncoder
@themoderncoder Жыл бұрын
Thanks for leaving a comment! Glad it helped
@nicolasv7549
@nicolasv7549 Жыл бұрын
i have two commits and i want to change the message of the first one, after running git rebase -i HEAD~2 , fatal: invalid upstream 'HEAD~2' i checked HEAD~1 but is the last commit
@themoderncoder
@themoderncoder Жыл бұрын
Sorry for not seeing this sooner. What do you mean by “checked HEAD~1 but is the last commit”?
@gagangautam1265
@gagangautam1265 Жыл бұрын
ESC:WA nothing is happing. how to save the file
@themoderncoder
@themoderncoder Жыл бұрын
Esq: wq. Make sure your last character is a “q” (short for quit), and you should be good to go
@robelpop78
@robelpop78 Жыл бұрын
thank
@amanali9501
@amanali9501 Жыл бұрын
How to do it for a remote repo
@themoderncoder
@themoderncoder Жыл бұрын
I wouldn’t recommend it for remote repos. Generally the rule with rebase is to avoid it on repos that are shared by others. I’m not sure if yours is, but being it’s a remote repo I’d just leave it
@shawnzhang528
@shawnzhang528 8 ай бұрын
After I did rebase, the order of commits changed...
@xarax7950
@xarax7950 4 ай бұрын
thanks
@workingguy3166
@workingguy3166 Жыл бұрын
I followed everything but it doesn't change the commit message, I'm losing my mind rn git rebase -i Vim opens, i add reword new message :wq Nothing happens, see that command was executed Git log, message not changed
@themoderncoder
@themoderncoder Жыл бұрын
Sorry for not replying sooner. I don’t think you can use interactive rebase by specifying a single commit hash. It has to be a series of commits back from HEAD (see 1:24 in the video). Try specifying a range of commits and only rewording the one you want. Just make sure you are aware of the caveats with rebase (3:39). Let me know if that helps fix your issue
Git Amend Tutorial: Rewrite Git History
3:26
The Modern Coder
Рет қаралды 15 М.
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
Write git commit messages like a PRO with Conventional Commits
4:08
Justin Brooks
Рет қаралды 122 М.
Change a Git Commit in the Past with Amend and Rebase Interactive
18:05
Never* use git pull
4:02
Philomatics
Рет қаралды 609 М.
git fixup commit--how to correct a previous mistake
9:27
ucsb-cmpsc-156
Рет қаралды 1,4 М.
Git: change an older commit with rebase interactive
8:48
Dave M.
Рет қаралды 10 М.
Git PULL vs FETCH
7:13
The Modern Coder
Рет қаралды 34 М.
7 Outside The Box Puzzles
12:16
MindYourDecisions
Рет қаралды 207 М.
Setting Up the Perfect Developer Environment on Linux for 2025
11:58
Git MERGE vs REBASE: The Definitive Guide
9:39
The Modern Coder
Рет қаралды 136 М.
5 Terrific Git Commit Tips
8:24
Andrew Burgess
Рет қаралды 8 М.