git rebase/split commit
Edit: just use lazygit instead: https://github.com/jesseduffield/lazygit/discussions/2840#discussioncomment-6581308
git rebase -i <your-previously-copied-hash>
..
git reset HEAD~1
..
# edit, commit
# (e.g. remove our password)
git add ..
git commit
..
git rebase --continue
detailed guide: https://internalpointers.com/post/split-commit-into-smaller-ones-git
still confusing⦠:D more info here: - https://www.bryanbraun.com/2019/02/23/editing-a-commit-in-an-interactive-rebase/
Last modified: 2025-01-31 19:09h