Skip to content

Instantly share code, notes, and snippets.

View jamesautodude's full-sized avatar
💭
Impatient

jamesautodude

💭
Impatient
View GitHub Profile
@mortenscheel
mortenscheel / functions.sh
Last active August 9, 2024 14:30
Laravel specific git hooks for post-checkout and post-merge
#!/usr/bin/env bash
NC='\033[0m' # No Color
YELLOW='\033[0;33m'
CYAN='\033[0;36m'
GREEN='\033[0;32m'
RED='\033[0;31m'
MAGENTA='\033[0;35m'
notify_about_actions_required() {
changed_files="$(git diff-tree -r --name-status --no-commit-id $1 $2)"