Navigation Menu

Skip to content

msolomonTMG/timesheet-githook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Timesheet Githook

Asks how long you worked on a commit then logs that amount of time to the corresponding JIRA ticket. Feel free to log issues or send PRs. Here is the blog post if you'd like a walkthrough of the code or if you would like to leave comments, suggestions or share experiences.

Example

example

Setup

  1. Open your terminal
  2. cd to your github repo
  3. enter this command: curl -sSL https://raw.githubusercontent.com/msolomonTMG/timesheet-githook/master/install.sh | bash

Usage

  • When you commit on a branch that has a JIRA ticket in the name and you do not log time through a smart commit, a message will pop up asking how long that commit took to code.
  • You can override the ticket in your branch name by including the ticket in your commit message
  • Answer the question in this format:
    • 1d (for one day)
    • 2h (for two hours)
    • 30m (for thirty minutes)
    • 1h 10m (for one hour and ten minutes)

Notes

  • I welcome pull requests to make this better!

About

Asks how long your commit took you to code then logs that amount of time in the corresponding JIRA ticket

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •