Squash all commit history to a single commit git rebase --root -i For each commit except the first, change pick to squash. By cedricJune 24, 2023BrainDump