GithubHelp home page GithubHelp logo

git-today's Introduction

Git-today

Get some fun stats on your code slinging activity.

Installation

npm -g install git-today

Usage

By default git-today will search for commits from the author specified in .gitconfig for commits in the current directory and spit out a report:

git-today

Will output:

Git stats for last 1 day in ./:
  17 files modified
  220 line insertions
  682 line deletions
 =======================
  -462 net lines

Options

-a / --author

Specify a different author. Does not need to be a full match, can just be a partial. (ie. "John" would work for "John Smith")

git-today -a "Some dude"

-b / --branch

Specify a different branch. Branch must exist or git will complain.

git-today -b some-feature

-d / --directories

Runs an aggregate report for multiple directories.

git-today -d ~/Dev/node/kongo,~/Dev/node/agenda
Git stats for last 1 day in all directories specified:
  7 files modified
  11 line insertions
  0 line deletions
 =======================
  -1 net lines

-m / --multi

Used in conjunction with -d. Specifies to print each report for the directories instead of one aggregate report

git-today -d ~/Dev/node/kongo,~/Dev/node/agenda -m
Git stats for last 1 day in /Users/ryan/Dev/node/kongo:
  0 files modified
  0 line insertions
  0 line deleitions
 =======================
  0 net lines

Git stats for last 1 day in /Users/ryan/Dev/node/agenda:
  0 files modified
  0 line insertions
  0 line deleitions
 =======================
  0 net lines

-t / --time

Time duration to search within. By default, 1 day. Takes any humanInterval

git-today -t "5 days"
Git stats for last 5 days in ./:
  40 files modified
  742 line insertions
  167 line deleitions
 =======================
  575 net lines

git-today's People

Contributors

rschmukler avatar tjwudi avatar

Stargazers

Talgat The Random avatar Art avatar Yusuke Takahashi avatar Gleb Pospelov avatar Weijun Huang avatar Xing He avatar  avatar Athan avatar adam mcgreggor avatar Robin Larsson avatar Dan Bennett avatar Simon Kusterer avatar Kai Neuwerth avatar TT avatar Mathieu M-Gosselin avatar Eric Yu avatar 胡杰 avatar Charlike Mike Reagent avatar Suguru Motegi avatar  avatar Brad Beltowski avatar R. Mathieu Landvreugd avatar Joohun, Maeng avatar Makoto Tateno avatar jigsaw avatar Tatsuya Hirose avatar Genki Sugimoto avatar  avatar Hengki Sihombing avatar Russell Matney avatar  avatar c v t avatar Janusz Bagiński avatar Marcin Kitowicz avatar Guan Bo avatar Jidé avatar James Wyse avatar Sascha avatar Mohammad Hossein Mojtahedi avatar Tyler Longren avatar Ben Briggs avatar aha hah avatar anton avatar Robb Schiller avatar James Brooks avatar  avatar Guo Yu avatar 茗一 avatar  avatar hui avatar Cristian Douce avatar Charlie Robbins avatar Matt Mueller avatar  avatar gregory nicholas avatar

Watchers

 avatar James Cloos avatar  avatar Art avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.