Plugin for the Sublime 3 editor to be used with the Git Time Metric platform.
- Total 15K
- Win 8K
- OS X 4K
- Linux 3K
|Oct 21||Oct 20||Oct 19||Oct 18||Oct 17||Oct 16||Oct 15||Oct 14||Oct 13||Oct 12||Oct 11||Oct 10||Oct 9||Oct 8||Oct 7||Oct 6||Oct 5||Oct 4||Oct 3||Oct 2||Oct 1||Sep 30||Sep 29||Sep 28||Sep 27||Sep 26||Sep 25||Sep 24||Sep 23||Sep 22||Sep 21||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|
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.
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.
- Follow the Getting Started section to install the GTM executable for your operating system.
- 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
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.
To report a bug, please submit an issue on the GitHub Page