App::TimeTracker::Command::Git - App::TimeTracker Git plugin
This plugin makes it easier to set up and manage
branches. When starting a new task, you can at the same time start a
git branch. Also, when stopping,
tracker can merge the
topic branch back into
See http://nvie.com/posts/a-successful-git-branching-model/ for a good example on how to work with topic branches (and much more!)
Git to the list of plugins.
Of course this plugin will only work if the current project is in fact a git repo...
CHANGES TO OTHER COMMANDS
~/perl/Your-Project$ tracker start --branch cool_new_feature Started working on Your-Project at 13:35:53 Switched to branch 'cool_new_feature'
If you pass a branch name via
tracker will create a
new branch (unless it already exists) and then switch into this
If the branch already existed, it might be out of sync with master. In
this case you should do something like
git merge master before
starting to work.
~/perl/Your-Project$ tracker start --branch another_featur --no_branch
Do not create a new branch, even if
--branch is set. This is only useful if another plugin (eg ) automatically sets
~/perl/Your-Project$ tracker stop --merge
After, stopping, merge the current branch back into
TODO: Turn this into a string option, which should be the name of the
branch we want to merge into. Default to
master (or something set
Thomas Klausner firstname.lastname@example.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.