@michalbe
git-info byGet detailed data about current git repo.
How to use:
npm install git-info
then:
var gi = ; // First argument of the function can be a String; // Or Array of Strings; // Smetimes the answer can be multiline;
API
Supported commands:
author
- top 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 reposha
- the sha of the last commitshaShort
- the sha of the last commit but in the short formsubject
- the message of the last commit
To Do
- more commands? like
commitSha
orcommitMsg
?