Skip to content

Instantly share code, notes, and snippets.

@naimdjon
Created June 26, 2020 11:50
Show Gist options
  • Save naimdjon/66cb574118cabf27b73ea886634807b2 to your computer and use it in GitHub Desktop.
Save naimdjon/66cb574118cabf27b73ea886634807b2 to your computer and use it in GitHub Desktop.
Forgot to prepend jira number in front of commit message?
git filter-branch -f --msg-filter 'sed "s/^/ABC-123: /g"' HEAD~112 master
@naimdjon
Copy link
Author

This requires force-push since it is done on master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment