From 03e6600e944657faf89d6063ca0fb0cc06bbcc67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Camargo?= Date: Wed, 20 Nov 2024 14:23:21 -0300 Subject: [PATCH] git add --force files --- src/ordnungsamt/core.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ordnungsamt/core.clj b/src/ordnungsamt/core.clj index 704a522..c061bc0 100644 --- a/src/ordnungsamt/core.clj +++ b/src/ordnungsamt/core.clj @@ -74,7 +74,7 @@ (sh "git" "stash" "drop" :dir dir)) (defn- local-commit! [title {:keys [modified deleted added]} dir] - (run! (fn [file] (utils/sh! "git" "add" file :dir dir)) + (run! (fn [file] (utils/sh! "git" "add" "-f" file :dir dir)) (concat modified added)) (run! (fn [file] (utils/sh! "git" "rm" file :dir dir)) deleted)