TailorDev / Watson

:watch: A wonderful CLI to track your time!
http://tailordev.github.io/Watson/
MIT License
2.41k stars 237 forks source link

Sync via git repository #495

Open lkiesow opened 1 year ago

lkiesow commented 1 year ago

This patch allows Watson to sync via a simple git repository, making it unnecessary to run a specific backend. Instead, any git repository with write access will do.

You can configure a git backend by setting something like:

watson config backend.repo git@github.com:user/repo.git

If y repository is set, the sync command will try using git. If not, the old backend server is used if server and token are set.