Change Git Commit Messages Tutorial

preview_player
Показать описание

-----

What is the Git reword command, and how do you use it? In this video I'll show you how to use Git reword to edit your old commit messages. Reword is a sub-command of interactive rebase which allows you to manipulate historical commits. Reword is a form of editing or updating Git history. In this tutorial I'll explain how to use reword to update any commit's message (including the most used commands "git commit --amend" and "git rebase -i"). As always, I'll illustrate the concepts with live animations alongside the actual commands.

CHAPTERS
0:00 Intro
0:21 Git reword: Update the latest commit message
1:08 Git reword: Update old commit messages using interactive rebase
3:36 Caveat when using reword
4:28 Altering commits, and editing Git history using interactive rebase

MY TECH

TECH ACCESSORIES

VIDEO GEAR

Some of the links above are affiliate links which means, at no extra cost to you, I will make a small commission if you click them and make a qualifying purchase. Thanks for supporting the channel.

MUSIC CREDITS
Music from Uppbeat (free for Creators!):
License code: TAFBT9UMI4O7NXJK

ABOUT ME
An experienced tech professional with experience including software engineering management, and software engineering. Formerly at Amazon for over 6 years, and currently living in NYC.

FOLLOW

#git #linux #programming #github
Рекомендации по теме
Комментарии
Автор

You explained it so well, thank you very much!

ignacio
Автор

These video series are pure gold. Thanks for the work you put in them. Keep it up!

arcanelore
Автор

Yoo Jack! I hope you're doing great ! I'm glad that you're finally back, keep going

emdirtyyo
Автор

Thank you! git amend instructions were useful for me today

olga
Автор

Thank you! I love this short `git {something}` series!

israelssantanna
Автор

Thank you so much ! It's great video :")

anhdevga
Автор

After I did rebase, the order of commits changed...

shawnzhang
Автор

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

nicolasv
Автор

ESC:WA nothing is happing. how to save the file

gagangautam
Автор

I followed everything but it doesn't change the commit message, I'm losing my mind rn

git rebase -i <commit_hash>
Vim opens, i add reword <commit_hash> new message
:wq

Nothing happens, see that command was executed

Git log, message not changed

workingguy