Skip to content

Instantly share code, notes, and snippets.

@s4nchez
Created April 2, 2019 11:36
Show Gist options
  • Save s4nchez/3fe9d5fd43bd759d67085237c5675f57 to your computer and use it in GitHub Desktop.
Save s4nchez/3fe9d5fd43bd759d67085237c5675f57 to your computer and use it in GitHub Desktop.
Reword multiple commits in git
git -c core.editor='sed -i -E "1s/SD-12259/SD-12891/"' \
-c sequence.editor='sed -i -E "s/^pick/reword/"' \
rebase -i f7f13c01cd4e3296618a9b1546b24c19d1b2a152~1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment