Skip to content

Instantly share code, notes, and snippets.

@inigomarquinez
Created April 26, 2024 10:33
Show Gist options
  • Save inigomarquinez/ae92427bec53895d73960b29ec4c3508 to your computer and use it in GitHub Desktop.
Save inigomarquinez/ae92427bec53895d73960b29ec4c3508 to your computer and use it in GitHub Desktop.
error: gpg failed to sign the data
# List the secret keys available in GPG.
gpg --list-secret-keys --keyid-format=long
# Copy your key
# Set your key for your user in git
git config --global user.signingkey <your key>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment