coze-studio/common/git-hooks/post-checkout

9 lines
198 B
Bash
Executable File

#!/bin/bash
if [ "$SKIP_COMMIT_MSG_HOOK" = "true" ]; then
exit 0
fi
# avoid conflicts in pnpm lock
# https://7tonshark.com/posts/avoid-conflicts-in-pnpm-lock/
git config merge.ours.driver true