https://github.com/gabrielcsapo/git-timesince
⏰ a simple extension of git that shows the time since the last commit
https://github.com/gabrielcsapo/git-timesince
git time utility
Last synced: about 1 month ago
JSON representation
⏰ a simple extension of git that shows the time since the last commit
- Host: GitHub
- URL: https://github.com/gabrielcsapo/git-timesince
- Owner: gabrielcsapo
- License: apache-2.0
- Created: 2017-08-27T00:16:29.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-09-03T07:03:48.000Z (almost 8 years ago)
- Last Synced: 2025-03-15T01:53:28.411Z (over 1 year ago)
- Topics: git, time, utility
- Language: JavaScript
- Homepage: https://gabrielcsapo.github.io/git-timesince
- Size: 2.94 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# git-timesince
> ⏰ a simple extension of git that shows the time since the last commit
[](https://www.npmjs.com/package/git-timesince)
[](https://travis-ci.org/gabrielcsapo/git-timesince)
[](https://lcov-server.gabrielcsapo.com/coverage/github%2Ecom/gabrielcsapo/git-timesince)
[](https://starbuck.gabrielcsapo.com/github/gabrielcsapo/git-timesince)
[](https://starbuck.gabrielcsapo.com/github/gabrielcsapo/git-timesince#info=devDependencies)
[]()
[]()
## Installation
```
npm install git-timesince -g
```
## Usage
```
Usage: git-timesince [options]
Commands:
-h, --help, help Output usage information
-v, --version, version Output the version number
Options:
-s, --sort [direction] Can change the direction of the time since for the repos provided (asc, desc) [default is desc]
-r, --recursive Recursively looks through directories, using the current working directory as the base
-t, --timeFormat [range] The time format that the output will be formatted in, [seconds, minutes, hours, days, weeks]
-d, --directory [directory] The current working directory, defaults to process.cwd()
```
> This can also be used when installed globally as an extension of git
```
git timesince
```
If you want to use any options it can applied as such
```
git timesince -r
```
The default time format is days, but can also be; `seconds`, `minutes`, `hours`, `days`, `weeks`.
```
$ git timesince --timeFormat seconds
/git-timesince [11910s]
```
```
$ git timesince -r
git-timesince [0d] gabrielcsapo.github.io [0d] compress-object [0d]
woof [0d] sweeney [5d] tryitout [8d]
lcov-server [8d] node-git-server [8d] groffee [9d]
build.sh [12d] run-anything [14d] tap-html [15d]
places [20d] badgeit [22d] css-commons [22d]
monotime [33d] context-link [33d] node-chat-rooms [36d]
starbuck [38d] node-timecapsule [44d] mocha-markdown-extended-reporter [44d]
grunt-screenshot [44d] espyjs [44d] json-ex [44d]
npm-what [49d] psychic.css [54d] git-unstaged [57d]
saywhat [57d] shell-p [57d] bluse [57d]
deploy.sh [57d] steno [71d] cproxy [107d]
bash-codegen [161d] node-notebook [211d]
```