This repository contains configuration files and Git hooks to streamline your development workflow.
git_hooks/commit-msg: Hook to modify or validate commit messages.pre-commit: Hook to run tasks before a commit (e.g., linting, formatting).
.bash_aliases: Useful shell aliases for convenience..gitconfig: Git configuration file with custom aliases and settings.
- Copy the following files to your home directory:
.bash_aliases.gitconfig
Example:
cp .bash_aliases ~/.bash_aliases
cp .gitconfig ~/.gitconfig- Leave the git_hooks/ directory as-is, or link its contents into your project’s .git/hooks/ directory.
Example:
ln -s /path/to/this/repo/git_hooks/commit-msg /your/project/.git/hooks/commit-msg
ln -s /path/to/this/repo/git_hooks/pre-commit /your/project/.git/hooks/pre-commit