Batch Rename Commit Messages with VS Code
git config --global core.editor "code --wait"
This lets Git use VS Code for rebase editing instead of vim.
git rebase -i --root
Mark commits to change
In VS Code: change pick → reword on target commits. Save & close tab.
Edit each message
VS Code opens for each commit. Edit message (e.g., post → note). Save & close.
git push origin main --force
# Set editor
git config --global core.editor "code --wait"
# Interactive rebase from root
git rebase -i --root
# Force push after rebase
git push origin main --force
reword stops at each commit, lets you edit message, then continues--force-with-lease instead of --force on shared branches