I_Am_Jacks_____@sh.itjust.worksto
Linux@lemmy.ml•Best way to watch a directory for changes and auto-git-commit on Arch Linux?

2 days
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
2027