# git-log-excel

> export git commits to excel

Latest version **2.1.4** (published 2024-01-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install git-log-excel
pnpm add git-log-excel
yarn add git-log-excel
bun add git-log-excel
```

Provides the command `glog`.

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.1.4 |
| Published | 2024-01-09 |
| First published | 2023-08-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=10 |
| Dependencies | 8 |
| Unpacked size | 24.2 KB |
| Known vulnerabilities | 0 (+3 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | hi-cactus! |
| Maintainers | hi-cactus! |
| Keywords | git commit, git log, excel |

## Links

- npm: https://www.npmjs.com/package/git-log-excel
- Repository: https://github.com/hi-cactus/git-log-excel
- Issues: https://github.com/hi-cactus/git-log-excel/issues
- npm.io page: https://npm.io/package/git-log-excel

## Dependencies (8)

- [ora](https://npm.io/package/ora.md) 5
- [chalk](https://npm.io/package/chalk.md) ^4.1.2
- [dayjs](https://npm.io/package/dayjs.md) ^1.11.9
- [tslib](https://npm.io/package/tslib.md) ^2.6.2
- [commander](https://npm.io/package/commander.md) ^10.0.1
- [node-xlsx](https://npm.io/package/node-xlsx.md) ^0.23.0
- [simple-git](https://npm.io/package/simple-git.md) ^3.20.0
- [typescript](https://npm.io/package/typescript.md) ^5.2.2

## Alternatives

- [cli-color](https://npm.io/package/cli-color.md) — 3.4M weekly downloads
- [log](https://npm.io/package/log.md) — 1.3M weekly downloads
- [logstash-client](https://npm.io/package/logstash-client.md) — 4.5K weekly downloads
- [@nocobase/plugin-logger](https://npm.io/package/@nocobase/plugin-logger.md) — 2.0K weekly downloads
- [child-process-debug](https://npm.io/package/child-process-debug.md) — 695 weekly downloads

## Recent versions

- 2.1.4 (latest) — 2024-01-09
- 2.1.3 — 2024-01-09
- 2.1.2 — 2024-01-09
- 2.1.1 — 2024-01-09
- 2.1.0 — 2024-01-09
- 2.0.1 — 2023-09-27
- 2.0.0 — 2023-09-27
- 1.2.1 — 2023-09-26
- 1.2.0 — 2023-09-26
- 1.1.0 — 2023-09-18
- 1.0.9 — 2023-09-18
- 1.0.8 — 2023-08-29
- 1.0.7 — 2023-08-29
- 1.0.6 — 2023-08-29
- 1.0.5 — 2023-08-29
- … 5 more at https://npm.io/package/git-log-excel/versions

## README

# git-log-excel

[![Language TypeScript](https://img.shields.io/badge/language-typescript-brightgreen)](https://github.com/hi-cactus/git-log-excel)
[![GitHub release](https://img.shields.io/github/package-json/v/hi-cactus/git-log-excel)](https://github.com/hi-cactus/git-log-excel/releases?logo=github)
[![License MIT](https://img.shields.io/github/license/hi-cactus/utility)](https://github.com/hi-cactus/git-log-excel)
[![npm version](https://img.shields.io/npm/v/git-log-excel?logo=npm)](https://img.shields.io/npm/v/git-log-excel?logo=npm)
> export git log to excel

### Installing

```bash
$ npm install git-log-excel  -g
```

### Usage

```bash

cd your-git-project

glog
```

### Options

```bash

Usage: glog [options]

export git log to excel

Options:
  -e, --email <email>                 filter by committer email
  -b, --branch <branch>               filter by branch
  -r, --repo <repo>                   git repo url
  -ep, --exportPath <exportPath>      set export path
  -d, --overDate <overDate>           set hour over date
  -dn, --overDateName <overDateName>  set hour over date name in excel column
  -v, --version                       output the version number
  -h, --help                          display help for command
```

filter by committer email

```bash
cd your-git-project

glog --email=test@test.email
```

export excel path

```bash
cd your-git-project

glog --email=test@test.email --exportPath=../
```

set hour over date `hh-mm-ss` default: 18:30:00

```bash
cd your-git-project

glog --overDate 19:00:00

# or
glog -d 19:00:00
```

set hour over date excel column name default: Hours over 18:30

```bash
cd your-git-project

glog --overDateName "Hours over 7PM"

# or
glog -dn "Hours over 7PM"
```

# License

MIT

---
_Source: https://npm.io/package/git-log-excel · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
