NAME
App::TimeTracker::Command::SyncViaGit - App::TimeTracker SyncViaGit plugin
VERSION
version 3.000
DESCRIPTION
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).
CONFIGURATION
plugins
Add SyncViaGit
to the list of plugins. I usually put it into my top-level config file (i.e. ~/.TimeTracker/tracker.json).
other setup
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.
NEW COMMANDS
sync
~/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.
No options
CHANGES TO OTHER COMMANDS
none.
AUTHOR
Thomas Klausner <domm@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2014 - 2019 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.