App::TimeTracker::Command::SyncViaGit - App::TimeTracker SyncViaGit plugin
This plugin allows you to syncronize your tracker files (living in ~/.TimeTracker) via
git to various other computers (eg desktop machine at work and laptop). All of the complex stuff is done by
git, this plugin is just a telling
git what to do (via Git::Repository).
SyncViaGit to the list of plugins. I usually put it into my top-level config file (i.e. ~/.TimeTracker/tracker.json).
Turn ~/.TimeTracker into a git repository and make sure you can pull/push this repo from all your machines. I do not recommend a public git hoster, as the information contained in your tracking files might be rather private.
~/somewhere/on/your/disc$ tracker sync # some git output
Adds all new tracker files to the git repo, pulls from remote, and then pushes to remote.
If you get conflicts (which can happen from time to time, especially if you forget to
stop), fix them and call
tracker sync again.
Thomas Klausner <email@example.com>
This software is copyright (c) 2011 by Thomas Klausner.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.