Skip to content

Instantly share code, notes, and snippets.

@michael-simons
Created July 2, 2020 07:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michael-simons/6fde75d4e86b89462292a42fd3cf8a55 to your computer and use it in GitHub Desktop.
Save michael-simons/6fde75d4e86b89462292a42fd3cf8a55 to your computer and use it in GitHub Desktop.
#!/bin/bash
git filter-repo --force \
--message-callback '
import re
return re.sub(rb"GH-\d+ - ", b"", message)
' \
--path .editorconfig \
--path .gitignore \
--path .mvn \
--path CONTRIBUTING.adoc \
--path LICENSE.txt \
--path README.adoc \
--path etc \
--path lombok.config \
--path mvnw \
--path mvnw.cmd \
--path spring-data-neo4j-rx \
--path-rename spring-data-neo4j-rx/:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment