From 1e149533148f5dd7e0ca285e1c519e906ef476c7 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 19 Jun 2024 08:07:02 +0100 Subject: [PATCH] Add `git-instafix` As seen on https://www.youtube.com/live/ik_d0dWYQgQ?si=XSNR00ovIgSu7Ent&t=6510, `git-instafix` is a tool for quickly fix up an old commit using your currently-staged changes. https://github.com/quodlibetor/git-instafix --- lib/shared/modules/git.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/shared/modules/git.nix b/lib/shared/modules/git.nix index 381dcf5f..ea54306f 100644 --- a/lib/shared/modules/git.nix +++ b/lib/shared/modules/git.nix @@ -1,3 +1,5 @@ +{ pkgs, ... }: + { home.file.".gitmessage".text = '' @@ -136,4 +138,6 @@ }; }; }; + + home.packages = with pkgs; [ git-instafix ]; }