giti
Quick summary and informations about a git rep returning a js-json object.
originally based on git-info by @michalbe
How to use:
npm i giti -g
then either javascript:
var gi = ; // First argument of the function can be a String; // Or Array of Strings; // or nothing and we run all commands;
or cli:
giti
API
Supported commands:
author
- last author of the repoauthors
- list of all the authorsauthorDate
- date of last commitauthorDateRelative
- date of last commitname
- name of the repositoryrepository
- address of the repobranch
- current branchbranches
- all the branches in the reposubject
- the message of the last commit