Toggl Track
Git integration forInstallation
- Clone the repo
- Log in to Toggl Track in your browser.
- Fill out the API key. Your API Key is at the bottom of your profile settings page.
- Fill out the workspace id. Click on "Projects" and find the workspace id in the URL.
- Fill out the project id. Click on a project and find the project id in the URL.
- Copy the commit-msg file into the repository you wish to track:
cp /path/to/toggl-git/repo/commit-msg /path/to/your/repo/.git/hooks/commit-msg
- Make it executable:
chmod +x /path/to/your/repo/.git/hooks/commit-msg
- Make a commit, and see it working :)
Features
- If the timer is not running, it will start the timer for the selected project when you commit.
- If the timer is running on a different project, then it will stop the timer, and start it for the selected project.
- It will add the commit message to the description of time entry.