Skip to content

Instantly share code, notes, and snippets.

@hkusoft
hkusoft / rebase.md
Last active December 7, 2020 06:32 — forked from todgru/rebase.md
git rebase interactive remove commit

#git rebase -i <sha>

List of commits from git log

F--E--D--C--B--A  ➟  F--E--C--B--A
     ✂

Lets say you want to remove commit D from the commits.