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 August 21, 2026 14:04
How to understand the `gpg failed to sign the data` problem in git

Problem

You have installed GPG, then tried to perform a git commit and suddenly you see this error message after it 😰

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

Understand the error (important to solve it later!)

@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