Skip to content

Latest commit

 

History

History
37 lines (30 loc) · 1.2 KB

README.md

File metadata and controls

37 lines (30 loc) · 1.2 KB

git-snoop

git-snoop: A command line tool for statistical analysis of a git repository. It generates a detailed statistical information about a repository.

Description

Wouldn't it be amazing if say you clone a huge codebase and want to quickly see some important details about this repository. git-snoop lets you do that with just a simple command from your terminal.

Statistics

  • shows authors info (name and number of commits) and lead author
  • shows number of branches
  • shows start date
  • shows total number of commits
  • shows top 10 filetypes (by extension) and total number of filetypes

Installation

  • Install Node.js and npm
  • cd git-snoop
  • npm install -g

Usage

$ cd <some-git-repository>
$ git-snoop .

Future Improvements

  • The display can be converted into a nice image that will open using native image viewer
  • It currently ignores the files or directories (patterns) that are listed in src/ignore.js but this list can be missing some other files or directories that should not be included while calculating file-types related information