Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Git Flight Rules | 41,021 | 2 days ago | 18 | cc-by-sa-4.0 | ||||||
Flight rules for git | ||||||||||
Husky | 29,588 | 68,251 | 83,897 | 2 days ago | 206 | May 09, 2022 | 21 | mit | JavaScript | |
Git hooks made easy 🐶 woof! | ||||||||||
Tips | 20,801 | a month ago | 28 | mit | JavaScript | |||||
Most commonly used git tips and tricks. | ||||||||||
Git Extras | 16,285 | 10 days ago | 1 | March 03, 2021 | 127 | mit | Shell | |||
GIT utilities -- repo summary, repl, changelog population, author commit percentages and more | ||||||||||
Cz Cli | 15,257 | 13,219 | 13,625 | 4 days ago | 78 | May 07, 2021 | 179 | mit | JavaScript | |
The commitizen command line utility. #BlackLivesMatter | ||||||||||
Git Tips | 14,465 | 6 months ago | ||||||||
:trollface:Git的奇技淫巧 | ||||||||||
Commitlint | 13,834 | 10,441 | 20,793 | 6 days ago | 55 | August 27, 2022 | 145 | mit | TypeScript | |
📓 Lint commit messages | ||||||||||
Git History | 13,254 | 3 months ago | 7 | March 19, 2019 | 76 | mit | JavaScript | |||
Quickly browse the history of a file from any git repository | ||||||||||
Gitui | 13,182 | 1 | 18 hours ago | 41 | January 26, 2022 | 151 | mit | Rust | ||
Blazing 💥 fast terminal-ui for git written in rust 🦀 | ||||||||||
Git Recipes | 13,001 | 4 years ago | 9 | |||||||
🥡 Git recipes in Chinese by Zhongyi Tong. 高质量的Git中文教程. |
This tool goes through a GIT repository's commit log and prints a CSV dump of per developer, per day working time based on a few assumptions:
This script is based on previous code published publicly by Sharad at http://www.tatvartha.com/2010/01/generating-time-entry-from-git-log/. However, it has been adapted to run without Rails from the command line. The portions of the code written by Rietta are licensed under the terms of the BSD license (see section 3 below).
To quickly get started, just run:
gem install git_time_extractor
You can see it at https://rubygems.org/gems/git_time_extractor.
Command line configurable options are supported!
Usage: git_time_extractor [options]
-p, --project PROJECT
-i, --repo-path REPOPATH
-o, --out OUTPUT_CSV
-c, --max-commits MAX_COMMITS Maximum number of commits to read from Git. Default: 10000
-y, --year YEAR Filter for commits in a given four digit year, such as 2015 or 2014. Default: Records for all years.
-e INITIAL_EFFORT, Initial Effort before each commit, in minutes. Default: 30
--initial-effort
-m, --merge-effort MERGE_EFFORT Effort spent merging, in minutes. Default: 30
-s SESSION_DURATION, Session duration, in hours. Default: 3
--session-duration
--project-total Project commits and time rolled into a single summary line. The field set is total git commit count, total hours, and a list of collaborators.
--compact Compact mode that lists only total git commit count, total hours, person, email.
cd /path/to/your/repository
git_time_extractor > time_log.csv
One basic usage of git_time_extractor
is to tabulated time spent on a project in a particular year. Using a year filter is a way to restrict the output to just records for days in a given calendar year.
git_time_extractor -y 2014 -i ~/Projects/GreatOpenSourceWork
Will scan the git repo in ~/Projects/GreatOpenSourceWork
, reporting only on the days between January 1, 2014, and December 31, 2015.
Once the you have used Git Time Extractor to prepare a CSV file, you can perform a lot of different analysis operations using a spreadsheet. See the examples spreadsheets for some ideas.
© 2012-2015 Rietta, Inc, and contributors. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
git_time_extractor
.git_time_extractor
and git-hours
, both of which are built around analyzing past activity, his approach runs a timer in real time during the developer's work and annotates git commits with the time data.Jason Fieldman: Theseus 3D (2014)
git_time_extractor says that there is approximately 120 hours of development time on my repo, from September 19 through October 22. Pretty much all grouped on weekends (and our schools extended 5-day break). The tool overestimates a bit because it does not compensate for meals or mid-session breaks, but its relatively close. So lets say its closer to 90-100 hours not bad to complete the game, including research and dealing with SceneKit foibles along the way.