mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 17:54:08 -05:00
That should fix the issues with commit failing loudly
This commit is contained in:
parent
4b1f90cf24
commit
5bbd203d45
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@
|
|||
startAt = [
|
||||
"*:0/5"
|
||||
];
|
||||
script = "cd /home/crow/Notes\ngit pull\ngit add .\ngit commit -am 'automatic backup'\ngit push";
|
||||
script = "cd /home/crow/Notes\ngit pull\ngit add .\ngit diff-index --quiet HEAD || git commit -am 'automatic backup'\ngit push";
|
||||
};
|
||||
|
||||
config.home-manager.users.crow = lib.mkIf config.users.crow.home.enable ./home.nix;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue