Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abh80/git-hooks
My custom git hooks which I use across my repositories
https://github.com/abh80/git-hooks
git-automation git-hooks
Last synced: 2 days ago
JSON representation
My custom git hooks which I use across my repositories
- Host: GitHub
- URL: https://github.com/abh80/git-hooks
- Owner: abh80
- Created: 2023-07-29T10:46:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-02T10:38:09.000Z (over 1 year ago)
- Last Synced: 2023-08-02T11:55:40.684Z (over 1 year ago)
- Topics: git-automation, git-hooks
- Language: PowerShell
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# git-hooks
My custom git hooks which I use across my repository> Note: requires [Powershell](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.3) to be installed in your system
# Installation
Add it using [git submodule](https://git-scm.com/book/en/v2/Git-Tools-Submodules).```bash
$ git submodule add https://github.com/abh80/git-hooks.git
```# Usage
Execute the script using their relative paths `git-hooks/.ps1`# Available scripts
- **Commit Message**
Automatically formats your git commit message and commits them easily, also commits your each file separately.1. Stage the changes using `git add .` or individually `git add <some-file>`
2. Execute the script `./git-hooks/commmit-message.ps1`
3. Everything required will be prompted next!