

62·
1 day agoIf you want simple, just commit unconditionally every x minutes with cron. It won’t do anything if there’s nothing to commit


If you want simple, just commit unconditionally every x minutes with cron. It won’t do anything if there’s nothing to commit


<3 Niri + DMS
Before showing your terrible understanding of git, try it. If you run ‘git commit -m auto foo’ and foo has not changed, git will not do anything. It’s a no-op. So there is no downside and is very simple. Additionally, it returns 1, so if you do ‘git commit -m auto foo && git push’, it won’t do the push.
But thanks for playing