Skip to content

Git Time Tracker version 1 cmdline interface

License

Notifications You must be signed in to change notification settings

louisbranch/gtt-v1-cli

Repository files navigation

Git Time Tracker (gtt)

Use your git commits to track how much time you spend coding.

Using gtt

First make sure you have ruby installed and install the gem:

gem install gtt

Initiating a new Project

gtt --init

If you don’t have a token yet, hold tight, we will start the open beta soon.

Starting and ending a day

gtt --start-day 'message'

gtt --end-day 'message'

The message is optional and it is used to ping Campfire.

Finishing a task

When is a git task, you do:

gtt --commit 'message' // or -c for short

Behind the scenes gtt does a git commit -m with the same message you pass to it.

When is not a git task:

gtt --task 'message' // or -t for short

Contributing to gtt

  • Check out the latest master to make sure the feature hasn’t been implemented or the bug hasn’t been fixed yet.

  • Check out the issue tracker to make sure someone already hasn’t requested it and/or contributed it.

  • Fork the project.

  • Start a feature/bugfix branch.

  • Commit and push until you are happy with your contribution.

  • Make sure to add tests for it. This is important so I don’t break it in a future version unintentionally.

  • Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.

Copyright © 2012 Luiz Branco. See LICENSE.txt for further details.

About

Git Time Tracker version 1 cmdline interface

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages