all repos — nixfiles @ 42194145e701ff01992b309c41d3e3b73b43ba05

System and user configuration, managed by nix and home-manager

colmena-auto-upgrade: forcibly update git repo to remote
Alan Pearce alan@alanpearce.eu
Mon, 24 Mar 2025 00:00:38 +0100
commit

42194145e701ff01992b309c41d3e3b73b43ba05

parent

ce1c1e08f1b50e70f2c0f62ebf6704b719df35eb

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M system/settings/colmena-auto-upgrade.nixsystem/settings/colmena-auto-upgrade.nix
@@ -227,7 +227,7 @@ ''           ${lib.optionalString cfg.git.enable
             ''
             ${git} fetch --prune
-            ${git} checkout ${cfg.git.branch}
+            ${git} reset --hard ${cfg.git.branch}
             ''
           }