Add git-save
All checks were successful
/ check (push) Successful in 1m3s

https://github.com/krisnova/home/blob/main/bin/git-save
This commit is contained in:
Oliver Davies 2025-08-18 02:37:35 +01:00
parent 3fc67873dd
commit 54b49c07bb

View file

@ -0,0 +1,20 @@
{
flake.modules.homeManager.base =
{ pkgs, ... }:
{
home.packages = [
(pkgs.writeShellApplication {
name = "git-save";
runtimeInputs = with pkgs; [ git ];
text = ''
git status
git add .
git commit -s -m "Automated commit"
git push
'';
})
];
};
}