diff options
author | Alan Pearce | 2025-03-24 00:00:38 +0100 |
---|---|---|
committer | Alan Pearce | 2025-03-24 00:00:38 +0100 |
commit | 42194145e701ff01992b309c41d3e3b73b43ba05 (patch) | |
tree | d417690a5974f3b33203fb448a1087f193610826 /system | |
parent | ce1c1e08f1b50e70f2c0f62ebf6704b719df35eb (diff) | |
download | nixfiles-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.nix | 2 |
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} '' } |