Delete commits and edit commits with git rebase. Crazy simple and useful

preview_player
Показать описание
Delete commits, rename commits!

Save yourself from manually unpicking commits you don't need, and clean up that commit history using git rebase

The command I am using in the video is `git rebase -i HEAD~3`

#github #Delete #Commit

🎨 My Editor Settings
Visual studio code
Afterglow

Рекомендации по теме
Комментарии
Автор

great & short stuff, you saved my day, thanks.

DeepakKhopade
Автор

thank you for the video, very helpful. I need to do this at work andfound the command from stackoverflow, but wanted to see how it actually works before trying this out.

yezdija
Автор

Thanks for your sharing a lot!
Now my git graph so clean that help me get rid of all my ashame commit from my team repo

NP-idpp
Автор

great video, couldn't find a good step by step process on stackoverflow or chatGPT but Caley came through with the clutch video

JoseRuiz-hsmt
Автор

I tried to make git pushes going back date. Everything is fine but in the activity section, i can still see that commits are made recently. Is there any way to make those dates reflected in the activity section aswell?

AbcdEfgh-nqbw
Автор

Why does git rebase -i HEAD~3 showing all commits on my end? Do you have any idea?

pogirockz
Автор

I just want to change the message for old commit. There also was Merges in that brach.
And after I made steps from this video and new commit message printed.
Git ask me to... RESOLVE CONFLICTS.
WTF??
Ridiculous.

So rebase is a wrong way for editing message.

ARGAMX
Автор

Gotta take it to the streets! Can’t wait 😂

JRob