Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/t-vk/git-tools
- Owner: T-vK
- Created: 2021-02-03T11:52:53.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-01T15:26:01.000Z (almost 4 years ago)
- Last Synced: 2023-03-04T16:19:43.665Z (almost 2 years ago)
- Language: Shell
- Size: 7.81 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.