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

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.