Skip to content

Instantly share code, notes, and snippets.

View renoirtech's full-sized avatar

Renoir dos Reis renoirtech

View GitHub Profile
@renoirtech
renoirtech / semantic-branch-names.md
Last active March 21, 2024 13:26 — forked from joshbuchea/semantic-commit-messages.md
Semantic Commit Messages

Semantic Branch Names

See how a minor change to your commit message style can make you a better programmer.

Format: <type>/<task-slug>

Examples

feature/registration-page
@renoirtech
renoirtech / pre-push.sh
Last active October 13, 2022 19:27 — forked from ogorzalka/pre-commit.sh
Only push if pint validation find no errors
#!/bin/bash
# Check if Laravel Pint is installed.
which ./vendor/bin/pint &> /dev/null
if [[ "$?" == 1 ]]; then
echo -e "\e[31mPlease install Pint (composer require laravel/pint --dev)\e[0m"
exit 1
fi