项目作者: deep4788

项目描述 :
:wrench: Command line tool for statistical analysis of a git repository.
高级语言: JavaScript
项目地址: git://github.com/deep4788/git-snoop.git
创建时间: 2017-03-21T21:07:28Z
项目社区:https://github.com/deep4788/git-snoop

开源协议:MIT License

下载


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

  1. $ cd <some-git-repository>
  2. $ 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