configure git versioning for the markdown composition app Draft
completion status: complete
I use the Android app Draft to compose Markdown documents. This syncs them with my Dropbox account, however lacks versioning, or even undo functionality. Some reviews on the Google Play site indicated that users has inadvertently deleted data while typing, so I needed a solution to:
protect my data, and
version control it
Since all the data passes through Dropbox, I set out to have my Linode server mirror the Dropbox files, and auto-commit them to Git using GitWatch.
We install headless Dropbox:
Now, we make everything start at startup by putting the following at the end of into crontab -e: