Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 524 Bytes

README.md

File metadata and controls

27 lines (22 loc) · 524 Bytes

gitjson

Git log wrapper with JSON output.

Usage:

    gitjson [standard git options] <git-command> [--json=<flags>]
            [standard git command options]

git-command must be log or shortlog.

For log command: You can restrict the fields to include in the JSON response with "--json=flags". The following flags are supported:

    a : author name
    e : author email
    h : sha
    d : date
    s : subject/title
    f : file list
    p : list of parent hashes
    t : tree hash