Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/t-vk/git-tools

Some helper tools to follow certain commit-message - and branch-naming conventions
https://github.com/t-vk/git-tools

Last synced: about 1 month ago
JSON representation

Some helper tools to follow certain commit-message - and branch-naming conventions

Awesome Lists containing this project

README

        

## How to install mkbranch, mkcommit and install-git-hooks

``` Bash
git clone https://github.com/T-vK/git-tools.git
cd git-tools
./install.sh
```

## mkbranch

Guides you through the creation of a branch using a certain commit convention

## mkcommit

Guides you through the creation of creating a commit with a commit message using a certain convention

## install-git-hooks

Installs a commit hook in the repository you run it. This hook prevents you from accidentally making commits with messages that don't follow the convention.
(The hook itself can't be committed or pushed and only works on the machine you installed it on.)

To uninstall it again, delete the .git/hooks/commit-msg file from the repositories in which you ran `install-git-hooks` and delete the `export PATH="$PATH:/xxxxxxxxxxx/git-tools/bin"` line from your `~.bashrc` and/or `~/.zshrc` file.