问题就是这一切.有没有办法在合并之前执行操作?我猜有一种方法可以使用pre-commit钩子,但我不太确定.
pre-commit
git merge githooks
git ×1
githooks ×1
merge ×1