Reputation: 4539
I have a post-merge hook defined. I just want to test it, so I simply wrote
#! /bin/sh
echo "just merged"
But I don't have any unusual output when merging.
Thanks ahead.
Upvotes: 0
Views: 537
Reputation: 34800
Ensure that the hook is executable. In the repository root, execute:
chmod +x .git/hooks/post-merge
Upvotes: 4