summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
authorAlan Pearce2025-03-24 00:00:38 +0100
committerAlan Pearce2025-03-24 00:00:38 +0100
commit42194145e701ff01992b309c41d3e3b73b43ba05 (patch)
treed417690a5974f3b33203fb448a1087f193610826 /system
parentce1c1e08f1b50e70f2c0f62ebf6704b719df35eb (diff)
downloadnixfiles-42194145e701ff01992b309c41d3e3b73b43ba05.tar.lz
nixfiles-42194145e701ff01992b309c41d3e3b73b43ba05.tar.zst
nixfiles-42194145e701ff01992b309c41d3e3b73b43ba05.zip
colmena-auto-upgrade: forcibly update git repo to remote
Diffstat (limited to 'system')
-rw-r--r--system/settings/colmena-auto-upgrade.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/settings/colmena-auto-upgrade.nix b/system/settings/colmena-auto-upgrade.nix
index b9b84e88..43789285 100644
--- a/system/settings/colmena-auto-upgrade.nix
+++ b/system/settings/colmena-auto-upgrade.nix
@@ -227,7 +227,7 @@ in
           ${lib.optionalString cfg.git.enable
             ''
             ${git} fetch --prune
-            ${git} checkout ${cfg.git.branch}
+            ${git} reset --hard ${cfg.git.branch}
             ''
           }