Skip to content

Instantly share code, notes, and snippets.

@kampka
kampka / atomic-git-commits.md
Created July 7, 2022 13:41 — forked from tarrsalah/atomic-git-commits.md
Every commit should be a perfect, atomic unit of change

Original post published on gemini://drewdevault.com/2021/01/02/2021-01-02-Every-commit-should-be-perfect.gmi


Every commit should be a perfect, atomic unit of change

Good commit discipline with git pays dividends in many respects, most of which are difficult to achieve with other version control systems. Each commit to your repository’s main branch should be exactly the correct size, be it large or small, such that it introduces one atomic unit of change. It should fix one bug, introduce one feature, refactor one system, and do so completely, rather than spreading the change out across several commits.

@kampka
kampka / matrix-appservice-slack.nix
Created May 22, 2020 21:03
Service declaration for matrix-appservice-slack on NixOS
{ config, pkgs, lib, ... }:
let
app = pkgs.callPackage ./package.nix {};
cfg = config.kampka.services.matrix-appservice-slack ;
configFile = pkgs.writeText "matrix-appservice-slack-config.yaml" "${builtins.readFile ./config.yaml}";
registrationFile = pkgs.writeText "matrix-appservice-slack-registration.yaml" "${builtins.readFile ./registration.yaml}";
From 36525961f9e51798c863c99af46eededd6ea3703 Mon Sep 17 00:00:00 2001
From: Christian Kampka <christian@kampka.net>
Date: Wed, 1 Jan 2020 15:58:12 +0100
Subject: [PATCH] Enable setting different application storage path
---
bootstrap/app.php | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/bootstrap/app.php b/bootstrap/app.php