How to Use Git Rebase to Squash a Sequence of Commits to a New Base Commit

Written by mralx | Published 2021/05/04
Tech Story Tags: git | git-rebase | programming | web-development | best-practices | best-practice | github-actions | git-commit

TLDR Rebasing is one of the two Git processes of integrating changes from one branch to another. The goal of rebasing is to keep a clean, clear project history. It allows us to edit commits, squash them, remove them, amend them and so much more. Rebasing can be more powerful (and dangerous) than merging or merging a merge commit. It can be used to update a new commit message and then edit its commit message. The rebase command is followed by the -i parameter and the commit we want to modify.via the TL;DR App

no story

Written by mralx | Front End Web Developer @hanko.io and owner of a cat named Ubuntu
Published by HackerNoon on 2021/05/04