{"id":19514879,"url":"https://github.com/ndp/gitlc","last_synced_at":"2025-04-15T20:33:49.705Z","repository":{"id":2242412,"uuid":"3196856","full_name":"ndp/gitlc","owner":"ndp","description":"Git Repository Line Count Utility","archived":false,"fork":false,"pushed_at":"2012-01-17T05:04:17.000Z","size":444,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T18:14:15.673Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://blog.ndpsoftware.com/2012/01/getting-paid-by-locs.html","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ndp.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-01-17T04:56:49.000Z","updated_at":"2024-11-27T17:59:57.000Z","dependencies_parsed_at":"2022-07-19T14:42:04.447Z","dependency_job_id":null,"html_url":"https://github.com/ndp/gitlc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndp%2Fgitlc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndp%2Fgitlc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndp%2Fgitlc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndp%2Fgitlc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ndp","download_url":"https://codeload.github.com/ndp/gitlc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249148405,"owners_count":21220526,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T23:37:54.676Z","updated_at":"2025-04-15T20:33:49.669Z","avatar_url":"https://github.com/ndp.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Git Line Count\n\nCommand line utility to count lines of code contributed to a git repository.\n\n\n## Usage\n\n\u003cpre\u003e$ ./gitlc.rb -r git-workspace-directory\u003c/pre\u003e\n\n### Options\n*  -A, --aliases file.yml           YAML file with aliases for authors\n*  -c, --count c                    Number of versions to investigate; default is all\n*  -s, --since c                    Show commits more recent than a specific date\n*  -a, --author a                   Show commits filtered by given author\n*  -p, --people                     Show commit data by person\n*  -d, --date                       Show commit data by date\n*  -m, --month                      Show commit data by month\n*  -l, --log                        Show commit data\n*  -h, --help                       Display this screen\n\n\n#### Alias file\n\nUsing the -A option, you can provide an alias file to combine two different developers' line counts. This may be because\na single developer uses multiple accounts, has changed email throughout a project, or you want\nto group users together for a metric.\n\nThe format of the file is:\n\n\u003cpre\u003e---\nandy:\n- ndp\n- andy.peterson\n- a.peterson\n- apeterson\nsteve:\n- sjobs\n- jobs\u003c/pre\u003e\n\n#### By person\n\n\u003cpre\u003e$ ./gitlc.rb -p -r ../AutoRegX/\n[[\"ndp\", {:net=\u003e438, :adds=\u003e438, :deletes=\u003e0}]]\u003c/pre\u003e\n\n#### By month\n\n\u003cpre\u003e$ ./gitlc.rb -m -r ../AutoRegX/\n[[\"2011-12\", {:net=\u003e438, :adds=\u003e438, :deletes=\u003e0}]]\u003c/pre\u003e\n\n\n#### Copyright\n\nReleased under the MIT license, http://www.opensource.org/licenses/MIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndp%2Fgitlc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fndp%2Fgitlc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndp%2Fgitlc/lists"}