Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/daikimaekawa/git-commit-checker

A git pre-commit hook to check commits
https://github.com/daikimaekawa/git-commit-checker

git python qiita

Last synced: 28 days ago
JSON representation

A git pre-commit hook to check commits

Awesome Lists containing this project

README

        

## git-commit-checker

This is a pre commit script that check commits.

You can find more information about how to use this [here](http://qiita.com/DaikiMaekawa). (in Japanese)

## Installation

```sh
$ sudo ./install.sh
```

## Usage

```bash
$ git commit -m "msg"

Author = USER_NAME
```

```bash
Do you want to me to keep it this way? [y/n] n
Username:NEW_USER_NAME
Email:NEW_USER_EMAIL
Please commit that again...
```

```bash
$ git commit -m "something"

Author = NEW_USER_EMAIL
```

Note that this function applies to newly created repositories after installing the scripts.

## License

Copyright (c) 2013, [Daiki Maekawa](http://daikimaekawa.strikingly.com/). (MIT License)

See LICENSE for more info.