Files
coze-studio/common/git-hooks/post-checkout
fanlv 890153324f feat: manually mirror opencoze's code from bytedance
Change-Id: I09a73aadda978ad9511264a756b2ce51f5761adf
2025-07-20 17:36:12 +08:00

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