I write a simple script to commit and push automatedly for the desktop app.
script on gist: auto push to Github when files change · GitHub
The note directory should be a git directory.
The script will check the file changes every 10 seconds and commit and push to the
master branch automatedly when there is a file change.
Any suggestion is welcome.
Updated： Add some more optional arguments.
Addition: Add git repo: https://github.com/defclass/git-auto, PRs or suggestions are welcome.
Transferred to logseq org: GitHub - logseq/git-auto: A Simple Shell Script To Do Git Commit And Push Automatically [2021-03-11]