Skip to content

Instantly share code, notes, and snippets.

@Sebdevar
Created June 13, 2025 00:21
Show Gist options
  • Save Sebdevar/0d045812a41606a3e247de856ac06fc5 to your computer and use it in GitHub Desktop.
Save Sebdevar/0d045812a41606a3e247de856ac06fc5 to your computer and use it in GitHub Desktop.
Resign commits with GPG key
git rebase --exec 'git commit --amend --no-edit -n -S' -i <Up to commit hash>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment