Learn how to change GIT commit history fast and easy!

Опубликовано: 07 Февраль 2026
на канале: ExplainIT
179
11

In this video, I showed several ways how to change GIT commit history for your project. Here are described ways to change the last commit, edit multiple commits at the same time, squash commits, split one commit in a few, and reorder and delete commits from history.

Enjoy!

Timestamps:
0:00 - Intro
1:06 - Important rule to remember
2:04 - Changing the last commit
6:18 - Change a few commits at the same time
12:55 - Reorder the commits
14:20 - Squash a few commits
16:05 - Split one commit into a few commits
20:00 - Delete commit from history
23:00 - Delete file from entire history

ABOUT MY CHANNEL
In my channel, you can find explainers and tutorials about programming and technology.
The topics are for different skills and levels, from beginners to professionals.
   / @explainit1024  
Don’t forget to subscribe!

CHECK OUT VIDEOS ABOUT GIT:
   • Learn GIT Basics in an hour!  

CHECK OUT PYTHON TUTORIALS:
   • Python tutorial for beginners 1. How to in...