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 18K
  • Win 10K
  • OS X 5K
  • Linux 3K
Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6
Windows 5 9 4 9 9 3 6 9 4 7 10 10 6 7 8 15 17 13 8 13 5 9 10 6 9 9 4 5 10 6 10 7 5 2 6 5 10 7 6 7 1 3 13 11 3 5
OS X 2 5 3 6 2 0 5 3 3 3 2 3 0 3 3 4 4 7 1 0 0 1 3 1 2 4 0 2 7 4 4 2 1 2 2 4 4 8 6 3 2 2 2 6 2 3
Linux 0 2 1 5 0 3 0 2 1 4 2 2 0 1 4 1 2 0 3 2 0 2 0 4 2 0 1 1 5 2 5 2 3 2 1 2 1 1 2 1 4 1 3 6 3 3

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.