Learn how to rewrite Git history - Amend, Reword, Delete, Reorder, Squash and Split

Published: 28 January 2019
on channel: The Modern Coder
156,482
5.6k

In this video I'll dive into some of the ways Git allows us to rewrite commit history. Specifically I cover: amending commits, rewording commit messages, deleting commits, reordering commits, squashing commits and splitting commits.

FULL WRITEUP: https://www.themoderncoder.com/rewrit...
MORE GIT VIDEOS:    • Git  

CHAPTERS
0:00 Intro
0:40 Amending commits
2:04 Rewording commits
4:14 Deleting commits
5:34 Reordering commits
7:04 Squashing commits
9:09 Splitting commits

MY TECH
2020 M1 MacBook Air (I have the 512GB variant): https://amzn.to/3TTIBsE
AirPods Pro: https://amzn.to/3sRLUo5
Gaming headset: https://amzn.to/3zwbT8i
Headphones (newer model): https://amzn.to/3Ub5reT
Keyboard: https://amzn.to/3FOOOC7
Mouse: https://amzn.to/3WhMFV9
Monitor: https://www.dell.com/en-us/work/shop/...
Monitor arm (newer model): https://amzn.to/3gXnlUa
Webcam: https://amzn.to/3zxxwp0

TECH ACCESSORIES
Laptop stand: https://amzn.to/3NuyqZ5
Mouse pad/mat: https://amzn.to/3U9QFVO
KVM switch: https://amzn.to/3gZmpP0
PC case: https://amzn.to/3Fx4Hg5
Under desk drawer: https://amzn.to/3WloFAo

VIDEO GEAR
Camera: https://amzn.to/3WkbiRe
Lens: https://amzn.to/3zxiTC4
Microphone: https://amzn.to/3SSUoWE
Main key light: https://amzn.to/3WhZbny
Secondary light: https://amzn.to/3fpRefx

^ Note for the Amazon links above: as an Amazon Associate I earn from qualifying purchases.

ABOUT ME
I'm a professional software engineer working at Amazon in New York City. I enjoy making videos about the tech industry so if you have a question please get in touch either through the comments or any of my socials and I'd be happy to help out. Thanks for checking out the channel!

FOLLOW ME
Website: https://www.themoderncoder.com
Instagram:   / themoderncoder  
Twitter:   / themoderncoder  

Join the email list for tips curated to improve your dev skills delivered monthly to your inbox: https://www.themoderncoder.com/email-...


Watch video Learn how to rewrite Git history - Amend, Reword, Delete, Reorder, Squash and Split online without registration, duration hours minute second in high quality. This video was added by user The Modern Coder 28 January 2019, don't forget to share it with your friends and acquaintances, it has been viewed on our site 156,482 once and liked it 5.6 thousand people.