ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Git​Time​Metric

by git-time-metric ST2/ST3

Plugin for the Sublime 3 editor to be used with the Git Time Metric platform.

Labels git

Details

Installs

  • Total 13K
  • Win 7K
  • OS X 4K
  • Linux 3K
Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2
Windows 0 10 1 3 9 17 13 10 10 4 6 16 15 13 9 6 8 5 6 8 8 5 12 4 6 5 8 7 4 6 3 5 13 11 8 14 7 5 4 10 4 14 4 12 6 4
OS X 0 4 2 5 6 4 5 11 8 2 2 5 5 6 4 5 4 1 7 3 7 2 3 2 2 6 4 3 7 3 4 2 5 5 2 2 3 3 2 4 0 4 4 6 3 3
Linux 0 2 3 2 3 6 3 4 2 3 1 7 7 5 1 5 2 1 2 0 5 3 3 1 0 4 4 2 4 5 2 2 1 3 6 3 3 5 2 5 0 6 2 4 2 1

Readme

Source
raw.​githubusercontent.​com
GTM Logo
Git Time Metric

Sublime Text 3 Git Time Metrics (GTM) plug-in

Simple, seamless, lightweight time tracking for all your git projects

Git Time Metrics (GTM) is a tool to automatically track time spent reading and working on code that you store in a Git repository. By installing GTM and using supported plug-ins for your favorite editors, you can immediately realize better insight into how you are spending your time and on what files.

Installation

Installing GTM is a two step process. First, it's recommended you install the GTM executable that the plug-in integrates with and then install the Sublime 3 GTM plug-in. Please submit an issue if you have any problems and/or questions.

  1. Follow the Getting Started section to install the GTM executable for your operating system.
  2. Install the plug-in via Package Control.

Note - to enable time tracking for a Git repository, you need to initialize it with gtm init otherwise it will be ignored by GTM. This is done via the command line.

> cd /path/to/your/project
> gtm init

Consult the README and Wiki for more information.

Features

Status Bar

In the status bar see your total time spent for in-process work (uncommitted).

This can be disabled by setting gtm_status_bar: false in gtm.sublime-settings.

Note - the time shown is based on the file's path and the Git repository it belongs to. You can have several files open that belong to different Git repositories. The status bar will display the time for the current file's Git repository. Also keep in mind, a Git repository must be initialized for time tracking in order to track time.

Command Line Interface

Use the command line to report on time logged for your commits.

Here are some examples of insights GTM can provide you.

$ gtm report -last-month

$ gtm report -last-month -format summary

$ gtm report -last-month -format timeline-hours

GTM is automatic, seamless and lightweight. There is no need to remember to start and stop timers. It runs on occasion to capture activity triggered by your editor. The time metrics are stored locally with the git repository as Git notes and can be pushed to the remote repository.

Support

To report a bug, please submit an issue on the GitHub Page

Consult the README and Wiki for more information.