New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

git-activity

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-activity

Simple util to grab commits from the day or time specified

  • 0.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Git Activity

Simple utiltity for getting a list of commits for a specified time.

Why not just git?

$ git log

Sure that is what is used in this module. We just run that command and spit the information out, but we also include a date time module moment to allow for easier time date handling. Also there is the added ability to just inlude the flag --me to grab only your own commmits. One last thing is that you can steam out json which can be done with bash but we abstract the conventions away.

Install

$ npm install git-activity -g

Usage

$ git-activity [ --flags ]

examples

$ git --start=2/11/2014 --end=3/11/2014
$ git --json --me --dir=/home/notarobot/beepboop
$ git --user=terminator | dat import --json --primary=commit

available flags

-d, --dir       The directory to run git from, defaults to cwd
-s, --start     The start time 
-e, --end       The end time
-u, --user      The user to query by
--json          Format the output to json
--me            Grab current users commits 

Wishlist

  • javascript api
  • more access to format
  • better error handling

Keywords

FAQs

Package last updated on 07 Sep 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc