Skip to content

Commit

Permalink
git add --force files
Browse files Browse the repository at this point in the history
  • Loading branch information
acamargo committed Nov 20, 2024
1 parent 9180026 commit 03e6600
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ordnungsamt/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 03e6600

Please sign in to comment.