My custom git hooks which I use across my repository
Note: requires Powershell to be installed in your system
Add it using git submodule.
$ git submodule add https://github.com/abh80/git-hooks.gitExecute the script using their relative paths git-hooks/<script>.ps1
-
Commit Message
Automatically formats your git commit message and commits them easily, also commits your each file separately.
- Stage the changes using
git add .or individuallygit add <some-file> - Execute the script
./git-hooks/commmit-message.ps1 - Everything required will be prompted next!
- Stage the changes using