Skip to content

Instantly share code, notes, and snippets.

View duxsco's full-sized avatar

David Sardari duxsco

View GitHub Profile
@qdequele
qdequele / gpg_resign.sh
Created February 24, 2018 10:33
Resign all my old commits with GPG key
#!/bin/sh
cd $1
git filter-branch --commit-filter '
if [ "$GIT_COMMITTER_EMAIL" = "[email protected]" ]
then
git commit-tree -S "$@";
fi