Skip to content

Instantly share code, notes, and snippets.

View krisleech's full-sized avatar

Kris Leech krisleech

View GitHub Profile
@paolocarrasco
paolocarrasco / README.md
Last active May 16, 2025 17:28
How to understand the `gpg failed to sign the data` problem in git

Problem

You have installed GPG, then tried to commit and suddenly you see this error message after it:

error: gpg failed to sign the data
fatal: failed to write commit object

Debug

@krisleech
krisleech / app.rb
Created January 14, 2019 09:32
Inline Ruby project with ActiveRecord
require 'bundler/inline'
gemfile do
source 'https://rubygems.org'
gem 'active_record'
gem 'sqlite3'
end